user defined BC in oudf #650
Unanswered
ajariwala611
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Neks,
I am new to NekRS. I am trying to setup a blasius boundary layer over a flat plate case. My boundary conditions are inlet, outlet, wall, outlet, periodic, periodic for simple box grid. My question is how can I set the fixed blasius BL velocities at the inlet for every time step as a boundary condition? as I have inlet (
boundaryTypeMap = v), the code looks forvoid velocityDirichletConditions(bcData *bc), how can I do something like this:I was able to set the initial condition using
UDF_Setup()where I solve the ODE using shooting method. What would be a proper way to set those in OUDF file. More generally, how can one set a non constant userdefined velocities in OUDF file with the function evaluations? Also, is there a way to properly pass arrays between UDF and OUDF file?Thank you for your help and support, I really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions