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

NACA 4318 Mesh to foam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2024, 14:03
Question NACA 4318 Mesh to foam error
  #1
New Member
 
Yash Desale
Join Date: Feb 2024
Posts: 1
Rep Power: 0
YashDesale is on a distinguished road
I am trying to validate my CFD model for high Reynolds numbers (30,900,000) using NASA’s database. I am using the SST K-Omega turbulence model with a y\textsuperscript{+} value of 1. According to the y\textsuperscript{+} value, the height of the first layer is 8.2e-6. I am able to match the drag coefficient (Cd) with an error of 4.5% at 0° angle of attack (AoA). However, the lift coefficient (Cl) shows a 23.5% error. When I try to decrease the first layer height further to 8.2e-7, I am not able to convert my msh file into foam using the “gmshToFoam” command. Following is the error:

--> FOAM Warning : From Foam:olyMesh:olyMesh(const Foam::IOobject&, Foam:ointField&&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 640 Found 1260703 undefined faces in mesh; adding to default patch defaultFaces Finding faces of patch 0 --> FOAM FATAL ERROR: (openfoam-2312 patch=240220) Problem : Patch frontandback starts at 1256031 Current face counter at 1256024 Are patches in incremental order? From void Foam:olyTopoChange::addMesh(const Foam:olyMesh&, const labelUList&, const labelUList&, const labelUList&, const labelUList&) in file polyTopoChange/polyTopoChange.C at line 2437. FOAM aborting [stack trace] ============= #1 Foam::error::simpleExit(int, bool) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so #2 Foam::error::exiting(int, bool) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so #3 Foam:olyTopoChange::addMesh(Foam:olyMesh const&, Foam::UList<int> const&, Foam::UList<int> const&, Foam::UList<int> const&, Foam::UList<int> const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so #4 Foam:olyTopoChange:olyTopoChange(Foam:olyMes h const&, bool) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so #5 Foam::repatchPolyTopoChanger::meshMod() in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libdynamicMesh.so #6 Foam::repatchPolyTopoChanger::changePatchID(int, int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libdynamicMesh.so #7 ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/gmshToFoam #8 ? in /lib/x86_64-linux-gnu/libc.so.6 #9 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #10 ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/gmshToFoam ============= Aborted (core dumped)

When I try to increase the height of the first layer to 8.26e-5, the “gmshToFoam” command works, but the solution diverges. I have attached mesh photos, as well as the fvSolution and fvScheme files to this thread.
Attached Images
File Type: jpg Screenshot from 2024-10-07 22-07-01.jpg (187.2 KB, 5 views)
YashDesale is offline   Reply With Quote

Reply

Tags
high air velocity, high reynolds number, naca 4318, sst k-omega, yplus


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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07


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