-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Enh/add non zero bc #31
base: main
Are you sure you want to change the base?
Conversation
I set the T field by the setFields utility: The dictionary looks like this:
|
Is there something similar for U though? |
you can specify a custom inlet profile like this:
Is this what you are looking for? Or do you want to specify the velocity in the whole domain? |
That looks good. I don't think we have specific needs for the velocity profile, just something that moves the temperature blob. |
I think then specifying an internal field which is not zero will do the job |
You can also do this with setexprfield https://www.cfd-online.com/Forums/openfoam-pre-processing/239290-setexprfields.html |
So here are the expressions used inititially:
for T
|
This PR adds some non-zero initial fields for T and U for the scalarAdvection case. Below are some screenshots of the initial fields of T and U. I'm open to use a different method to generate the fields in order to decrease the file size and make it easier to scale the mesh.