CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

naca 0012 validation error

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 26, 2015, 08:28
Default naca 0012 validation error
New Member
Join Date: May 2015
Posts: 12
Rep Power: 2
eaxyd1 is on a distinguished road
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
Attached Images
File Type: png residuals.png (10.8 KB, 9 views)
File Type: png cl.png (10.5 KB, 7 views)
File Type: png cd.png (9.4 KB, 8 views)
Attached Files
File Type: txt createPatchDict.txt (2.5 KB, 2 views)
eaxyd1 is offline   Reply With Quote

Old   June 26, 2015, 19:06
Senior Member
Join Date: Aug 2014
Posts: 191
Rep Power: 3
ssss is on a distinguished road
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?
ssss is offline   Reply With Quote

Old   June 27, 2015, 06:00
New Member
Join Date: May 2015
Posts: 12
Rep Power: 2
eaxyd1 is on a distinguished road
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:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/"
#3 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
at ??:?
at ??:?
at ??:?
at ??:?
#8 __libc_start_main in "/lib/x86_64-linux-gnu/"
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.
eaxyd1 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
groovyBC sega OpenFOAM Running, Solving & CFD 12 February 17, 2010 10:30
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38

All times are GMT -4. The time now is 22:23.