<div dir="ltr">Hi All, <div><br></div><div>I'm using NEK5000 for a university project. I've found it to be blissfully fast and relatively easy to use.</div><div><br></div><div>The problem I'm doing is a blasius boundary layer case with perturbations (simulating Tollmien–Schlichting waves), initially in 2D as per the blasius example, then eventually moving to 3D.</div>
<div>I've so far been successful in running the blasius example case, and modifying the mesh, polynomial order and other input parameters.</div><div><br></div><div>Now however, I want to change the way the boundary conditions are defined.</div>
<div>I have input files that are unique for each time step specifying velocity and pressures along a line (the inlet) in text format. It would be possible to re-format these as .csv or another file if necessary.</div><div>
<br></div><div><b>How can I get NEK to read these files as boundary conditions on the inlet for each time step?</b><br></div><div><br></div><div>I understand it will be a specification in the user userbc subroutine in blasius.usr however I'm not sure how to actually implement this.</div>
<div>Doing it in 2D will be a precursor to a 3D simulation with the file specifying the inlet <i>plane </i>in a text file, rather than just a <i>line</i>. </div><div><br></div><div>Looking forward to a response.</div><div>
<br></div><div>Warm Regards,</div><div>Tom.</div></div>