CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Use direct numerical simulation on engineFoam (

Chapelle October 20, 2013 10:15

Use direct numerical simulation on engineFoam
Hi everyones,

I'm a new user and I'm working on the tutorial engineFoam to simulate the flow around the valves, but i need to change the Reynolds number at around 50 or 100.

For that i have to change the viscosity and the pitch of the mesh.

So i was looking at the transport properties file but i didn't found it.

If someone can explain to me how to proceed cause i really have no idea.



Chapelle October 21, 2013 14:54

Use direct numerical simulation on engineFoam
I make a copy of the engineFoam solver and modify the Ueq.H file like this:

PHP Code:

 fvVectorMatrix UEqn

    if (
solve(UEqn == -fvc::grad(p));

I also rename in the folder "make " the "files" engineFoam by engineFoamdns, then i change in all the controlDict the solver name application by engineFoamdns.

I also add in combustion properties the value of nu.

But when i'm running i got an error: " can't found engineFoamdns".

If someone has an idea of the source of the problem or tell me what i'm doing wrong ?

Thanks you!


All times are GMT -4. The time now is 13:47.