CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   free surface elevation upstream the pille - interfoam (http://www.cfd-online.com/Forums/openfoam-solving/119221-free-surface-elevation-upstream-pille-interfoam.html)

pedroxramos June 12, 2013 08:57

free surface elevation upstream the pille - interfoam
 
Hi...

I'm doing the open channel flow simulation with interFoam solver and I got a exaggerated elevation upstream the cylinder http://d.pr/i/Ya1d (http://d.pr/i/Ya1d).



I dont't know why... I use these BC to the atmosphere:

alpha 1
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}

U:
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

p_rgh:
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
k
{
type inletOutlet;
inletValue uniform 0.001;
value uniform 1e-11;
}
nuSgs:
{
type zeroGradient;
}
nuTilda:
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}

Help me please!

Best regards!

kilroy June 14, 2013 17:01

Pedro,

If you can upload your case, I can try to find the problem.

Thanks,

pedroxramos June 14, 2013 19:35

Hello... I already solve the problem... I forget to put the gravity acelleration in the g file :)

Now, I want to define a logarithmic profile of the velocity in the inlet. Do you know how? I don t want use swak4foam or groovy bc (i can t install it)

Thanks!

Best regards.

pedroxramos June 18, 2013 05:55

Quote:

Originally Posted by kilroy (Post 434062)
Pedro,

If you can upload your case, I can try to find the problem.

Thanks,

Hello. I have a convergence problem and if I do a treeshold with alpha1 between 0 and 1, something very strange happens.:( See for yourself please: http://d.pr/f/jDJj

You must type: blockMesh, setFields and interFoam.

Best regards.

RodriguezFatz October 29, 2013 10:47

Hey Pedro, can you tell me, why you set nuSgs to "zeroGradient" instead of just "0" (zero) at the wall?


All times are GMT -4. The time now is 04:40.