CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Free output Velocity - icoFOAM (https://www.cfd-online.com/Forums/openfoam-solving/115238-free-output-velocity-icofoam.html)

Guenda March 26, 2013 14:57

Free output Velocity - icoFOAM
 
Hi,
I'm new in OpenFOAM.
I'm running icoFOAM for a Y-geometry (cylinders) but I have this error: "floting point exception". In fact I have a really huge Courant number even if I have a small deltaT (0.00001).

How can I solve this kind of problem?

In addition I'd like to have free velocity in both outlets, any help??

These are my 0\p and 0\U files:

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 56291.66e5;
}

outlet
{
type fixedValue;
value uniform 56289.67e5;
}

wall
{
type zeroGradient;
}
}

// ************************************************** *********************** //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (0 0 4.94745);
}

outlet
{
type fixedValue;
value uniform (0 0 1.44048);
}

wall
{
type fixedValue;
value uniform (0 0 0);
}
}

// ************************************************** *********************** //

gschaider March 27, 2013 12:40

Quote:

Originally Posted by Guenda (Post 416586)
Hi,
I'm new in OpenFOAM.
I'm running icoFOAM for a Y-geometry (cylinders) but I have this error: "floting point exception". In fact I have a really huge Courant number even if I have a small deltaT (0.00001).

How can I solve this kind of problem?

In addition I'd like to have free velocity in both outlets, any help??

Just some random remarks: fixing velocity everywhere is almost never a good idea as you'll probably violate mass conservation (I guess that's where your high Courant came from). "free velocity" would be zeroGradient but with what you're trying to do that might be too liberal. Have a look at the tutorial cases.

Guenda March 27, 2013 13:48

Now I have a turbolent flow so simpleFoam should be better, does 'zeroGrandient' work for the outlet 'free velocity' in this new case?

Thank you so much.


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