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

[snappyHexMesh] parallel SnappyHexMesh patchField entry

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jokerito

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2014, 10:27
Default parallel SnappyHexMesh patchField entry
  #1
New Member
 
Join Date: Aug 2011
Posts: 13
Rep Power: 14
insta is on a distinguished road
Hello Everyone
Im trying to solve some k-epsilon case for complex terrain.
everything is working fix with one calculation core. The problem arises when I try to parallelize it.
my sequence of commands is:
blockMesh
decomposePar
mpirun -np X snnapyHexMesh -overwrite -parallel

so far so good.

when I run a solver I get this error:
Cannot find patchField entry for name_name

I think that I understand the problem but dont know how to fix it.
My question is how can I automatically move the BC of the snap from the '0' folder to all the '0' folders located in the different processors folders that were created ?

Any help will be appreciated
insta is offline   Reply With Quote

Old   September 16, 2014, 13:34
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 11
jokerito is on a distinguished road
Hello,

I think you have to reconstruct the Mesh and decompose it afterwards again, because with the new mesh from snappy OF doesn't know the new boundary faces with the boundary conditions. Have a look at this thread:
[#1]

That's my way:
Code:
mpirun -np 4 snappyHexMesh -overwrite -parallel
reconstructParMesh -constant -mergeTol 1E-06
decomposePar -force
mpirun -np 2 taskset -c 0,1 interFoam -parallel
ajk likes this.
jokerito is offline   Reply With Quote

Old   September 17, 2014, 00:52
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 13
Rep Power: 14
insta is on a distinguished road
Hi Jokerito
Thanks for the quick reply

I mannaged to fix the problem by adding manually the missing BC, but its a bit annoying
I hope your suggestion with the 'force' command will work at my case.
I've read the thread you suggest, and Bruno speaks there on some magig BC that fix the problem, I will try to figure it out

best regards
Insta
insta is offline   Reply With Quote

Reply


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
[snappyHexMesh] Running snappyHexMesh in parallel creates new time directories hconel OpenFOAM Meshing & Mesh Conversion 5 September 27, 2022 15:20
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 16:38
[snappyHexMesh] SnappyHexMesh in Parallel problem swifty OpenFOAM Meshing & Mesh Conversion 10 November 6, 2015 04:40
Running parallel case after parallel meshing with snappyHexMesh? Adam Persson OpenFOAM Running, Solving & CFD 0 August 31, 2015 22:04
[Other] Cannot find patchField entry for walls eruwaedhiel OpenFOAM Meshing & Mesh Conversion 0 June 8, 2015 22:57


All times are GMT -4. The time now is 04:57.