CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   how to map inlet profile to internal fields (https://www.cfd-online.com/Forums/openfoam-pre-processing/226693-how-map-inlet-profile-internal-fields.html)

wolfindark May 5, 2020 09:35

how to map inlet profile to internal fields
 
Dear Foamers,



Is it possible to map the inlet profile of any field to the internal field?
For example I want to have same profile in the internal mesh regions with the inlet patch.



How can be done? is there any tutorial?



thanks

geth03 May 29, 2020 03:52

do i understand correctly that you don't want that your flow change within your domain? so lets say you give an inlet flow distribution and your flow doesn't change within a pipe or so?

wolfindark May 29, 2020 07:18

Quote:

Originally Posted by geth03 (Post 772469)
do i understand correctly that you don't want that your flow change within your domain? so lets say you give an inlet flow distribution and your flow doesn't change within a pipe or so?


No It will change. inlet profile will be an initial condition for internal field, i.e, internalField

HPE May 29, 2020 18:29

Hi,

There is no direct utility to perform this, but you can use a coded function object or other coded utilities.

On the other hand, if you would like to map velocity - you would need to map it as a body force, and/or into the pressure-velocity coupling algorithm (it is doable, and has been done extensively, e.g. actuator line modelling or Kim et al. 2013's synthetic turbulent inlet flow mapping for LES simulations etc)

I'm extremely tired, so can't elaborate further, but can you give more details on what you want to accomplish? what type of field you would like to map (e.g. temperature? velocity?), or for compressible/incompressible flows etc?

wolfindark May 29, 2020 19:07

Thank you very much HPE.

I want to map U, k, omega, and T.
Solver is chtMultiRegionFoam. Compressible solver.

HPE May 31, 2020 15:28

Hi,

- I think you may need to modify the relevant codes, I'm afraid. There is no off-the-shelf utility for doing such task, afaik.
- Would you please let us know if there is such a utility comes your way?


All times are GMT -4. The time now is 03:41.