CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to give out U in ratio to inflow-velocity (https://www.cfd-online.com/Forums/openfoam/85843-how-give-out-u-ratio-inflow-velocity.html)

RugbyGandalf March 8, 2011 07:06

How to give out U in ratio to inflow-velocity
 
Dear community,

is there a chance to give out the velocity of each field in ratio to the inflow velocity (standardize) it and make it visible in paraView?

Maybe with foamCalc? But i have no idea about the syntax?

Could someone help me?

thank you very much

Martin

Bernhard March 8, 2011 07:16

You can choose U at your inlet to be 1, and scale your viscosity accordingly? When you normalize your Navier-Stokes equations, it should be not too difficult.

RugbyGandalf March 8, 2011 07:24

Thank you very much for you answer.

I do not really understand what you mean. It is a post-process work. So i wont make in inflow of 1. Or do you mean, it is possible to scale this in paraView? If you mean this, could you tell me how to do it?

Bernhard March 8, 2011 09:42

Well, it depends on what you want to achieven. Of course it can be done in Paraview as well (Calculator of Python Calculator filter). You can also try to solve the non-dimensional Navier-Stokes equations in OpenFOAM, that is equivalent.

RugbyGandalf March 9, 2011 04:16

Dear Bernhard,

that was helpful, thank you. I used foamCalc to get magU (a scalar) and having this i was able to take the calculator filter to calculate magU/inflow velocity!!!

Thank you very much

Martin


All times are GMT -4. The time now is 07:53.