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/)
-   -   Problem with boundary condictions in an airfoil (https://www.cfd-online.com/Forums/openfoam-solving/80305-problem-boundary-condictions-airfoil.html)

bego September 22, 2010 05:56

Problem with boundary condictions in an airfoil
 
Hello all,
I'm new using OpenFoam, and I'm doing a project with it.
I'm trying to calculate p and U for an airfoil using pisoFoam, with kepsilon realizable.I have free flow arround the profile. I have the mesh ok, and I have some files in 0 directory, this files are p, U, epsilon, k and nut. For p I have a fixedValue at the outlet and the other patch are type zeroGradient uniform 0.
For U I have a fixedValue in the inlet and type zeroGradient;value uniform (0 0 0) for the other patches, internalField is uniform (0 0 0) too.
For epsilon I'm not sure, becouse I tryied with zeroGradient and an uniformValue (the value calculated for epsilon) in the boundary patches and in the fixedWalls type epsilonWallFunction; value uniform 58;
For k i put kqRWallFunction with intensity 0.05 and value uniform 0.8, and as epsilon I tryied diferents values, now I have zeroGradient inlet, outlet, up and down with value uniform 0.
For nut I have nutWallFunction with value uniform 0.00098 for fixedWalls, and zeroGradient with value uniform 0 for the other patch.
I have the following error when I run pisoFoam in the terminal:

Courant Number mean: 395.235 max: 3522.91
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 2.2568e-06, No Iterations 60
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 3.28351e-06, No Iterations 59
DICPCG: Solving for p, Initial residual = 0.525457, Final residual = 0.0255011, No Iterations 91
time step continuity errors : sum local = 4.35501e+16, global = 5.60967e+14, cumulative = 5.60967e+14
DICPCG: Solving for p, Initial residual = 0.604277, Final residual = 2.91837e-07, No Iterations 106
time step continuity errors : sum local = 4.12262e+14, global = 1.28006e+12, cumulative = 5.62247e+14
DILUPBiCG: Solving for epsilon, Initial residual = 0.99879, Final residual = 149318, No Iterations 1001
bounding epsilon, min: -8.04946e+31 max: 2.25381e+32 average: 4.01452e+29
#0 Foam::error::printStack(Foam::Ostream&) in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#6 Foam::incompressible::RASModels::realizableKE::cor rect() in "/home/bego/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libincompressibleRASModels.so"
#7 main in "/home/bego/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/pisoFoam"
#8 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#9 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122

Thanks

Bego


All times are GMT -4. The time now is 21:45.