CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] OpenFOAM parallel run for Channel Flow

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2013, 15:08
Default OpenFOAM parallel run for Channel Flow
New Member
Danny Moore
Join Date: Jun 2013
Location: Vermont, USA
Posts: 14
Rep Power: 12
Dmoore is on a distinguished road
Send a message via Skype™ to Dmoore

I am working to use snappyHexMesh to mesh and simulate a 3-D .stl file of a channel flow contraction in openFOAM v2.2.0 to be run on a 24 core machine using a parallel approach and the simpleFOAM solver. So far I have successfully set up a blockMesh backround mesh, extracted surface features using surfaceFeatureExtract, decomposePar to decompose the case into the proper set of domains. But when I execute:

mpirun -np 24 simpleFoam -parallel > log &

I receive errors saying:

[1] Cannot find patchField entry for contraction_contraction
[1] file: /home/teamsoh/OpenFOAM/teamsoh-2.2.0/run/sohWind/bigBlock/processor1/0/p.boundaryField from line 26 to line 45.
[1] From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
[1] in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 154.
FOAM parallel run exiting

I have found the offending code line "contraction_contraction". It exists only in the processor files after decomposePar is executed, casefile/processor#/constant/polymesh/boundary (ie it does not exist in the original casefile/constant/polymesh/boundary file). But I have yet to see a problem with the format/syntax/code structure etc...

Is there anyone who might suggest a strategy for resolving this error? Or perhaps a better method for simulating a channel flow (with a contraction and expansion)? Any input is much appreciated! Thank you
Dmoore is offline   Reply With Quote


boundary field, channel flow, openfoam 2.1.x, patchfield, snappy hex mesh

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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Unable to get flow output files in parallel run quarkz SU2 4 May 11, 2017 22:51
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 11:05
simpleFoam in parallel issue plucas OpenFOAM Running, Solving & CFD 3 July 17, 2013 11:30
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31

All times are GMT -4. The time now is 07:41.