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

naca 0012 validation error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2015, 09:28
Default naca 0012 validation error
  #1
New Member
 
Join Date: May 2015
Posts: 12
Rep Power: 10
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, 11 views)
File Type: png cl.png (10.5 KB, 9 views)
File Type: png cd.png (9.4 KB, 10 views)
Attached Files
File Type: txt createPatchDict.txt (2.5 KB, 2 views)
eaxyd1 is offline   Reply With Quote

Old   June 26, 2015, 20:06
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
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, 07:00
Default
  #3
New Member
 
Join Date: May 2015
Posts: 12
Rep Power: 10
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 10:30
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38


All times are GMT -4. The time now is 11:35.