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/)
-   -   naca 0012 validation error (https://www.cfd-online.com/Forums/openfoam-solving/155207-naca-0012-validation-error.html)

eaxyd1 June 26, 2015 08:28

naca 0012 validation error
 
4 Attachment(s)
Attachment 40415Hi OpenFOAM users,

I just start learning OpenFOAM from a simple NACA 0012 validation. I generate the mesh in Pointwise, and convert it using "createPatch" in the terminal and input into OpenFOAM.
The parameter setting use almost the same as the tutorial "airFoil2D", but my results are not right. When I change the angle of attack into 5 degrees, the solution even divergent! But when checkMesh it is OK. I really don't know what is wrong, can anybody give me some advices? I have my input files in the attachment.(The constant directory are too large to upload, how can I share it?)

Thank you

ssss June 26, 2015 19:06

Why are you using createPatch? You should be able to export easily the mesh from pointwise to openfoam. Is the mesh good enough? Which are your boundary conditions, reynolds number, turbulence model, etc?

eaxyd1 June 27, 2015 06:00

I export mesh from pointwise and get 5 files, then copy them in the polyMesh directory, and input simpleFoam in the terminal, then error info:

Time = 1

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#4
at ??:?
#5
at ??:?
#6
at ??:?
#7
at ??:?
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
at ??:?
Floating point exception (core dumped)


so I use createPatch in OpenFOAM.

the mesh is C shape with inlet, outlet, wall and empty, reynolds number is 5,000,000, turbulence model is SpalartAllmaras.


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