CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

naca 0012 validation error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 26, 2015, 08:28
Default naca 0012 validation error
  #1
New Member
 
Join Date: May 2015
Posts: 2
Rep Power: 0
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, 6 views)
File Type: png cl.png (10.5 KB, 4 views)
File Type: png cd.png (9.4 KB, 4 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
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 130
Rep Power: 2
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
Default
  #3
New Member
 
Join Date: May 2015
Posts: 2
Rep Power: 0
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/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.
eaxyd1 is offline   Reply With Quote

Reply

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 13:16.