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

Problem with createpatch, 0 files and decomposePar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2021, 18:41
Default Problem with createpatch, 0 files and decomposePar
  #1
New Member
 
Felipe Griffiths Fonck
Join Date: May 2021
Posts: 5
Rep Power: 5
Phill_G is on a distinguished road
I am currently trying to model a single wind turbine blade for simulation, using a semi-cylinder domain with a wind-blade in the middle. Specifically, I am trying to use the two bladed Nrel VI case, for validation.

My meshing process consists of Blockmesh to create the basic topology where I specify the inner cyclic domains named A and B (to simulate the whole turbine with just half of the cylinder) with the yellow (A) and purple (B) patches as normal patches so snappyhexmesh can modify them if necessary without problems (see image)

After Snappyhexmesh -overwrite takes out the desired mesh and snaps into the blade's shape I use createpatch - overwrite to transform the A and B into cyclicAMI patches (yellow named Cycl_A and purple Cycl_B).

The problem arises when I try to use decomposePar to separate the process into many cores. Since createpatch does not modify the patches in 0 named celllevel, nsurfacelayer, pointlevel, thickness and thicknessFraction where the patch A and B are not changed to Cycl_A and Cycl_B. It gives out an error when trying to find these patches.

Code:
--> FOAM FATAL IO ERROR: 
Cannot find patchField entry for Cycl_A

file: {...}  /0/cellLevel/boundaryField from line 1411859 to line 1411883.
I can go to this directory and add the field manually, but am afraid it could affect the simulation, and when I did, it went on with the error on the other 0 files mentioned above. Is there a way to change these patches with createpatch or with another directory?
Attached Images
File Type: png 1111.png (74.2 KB, 5 views)
Phill_G is offline   Reply With Quote

Old   December 1, 2021, 15:53
Default
  #2
New Member
 
Felipe Griffiths Fonck
Join Date: May 2021
Posts: 5
Rep Power: 5
Phill_G is on a distinguished road
[Update] I have found out that the utility renumberMesh solves the problem. Hope it helps if you have the same problem.
Phill_G is offline   Reply With Quote

Reply

Tags
createpatchdict, decomposepardict, error.


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 with decomposePar (and mapFields) for large problem quarkz OpenFOAM Pre-Processing 2 February 21, 2019 10:51
decomposePar problem: Cell 0contains face labels out of range (Again)) limonegiallo OpenFOAM Pre-Processing 4 August 28, 2017 06:18
[snappyHexMesh] Problem with decomposePar, snappyHexMesh luca1992 OpenFOAM Meshing & Mesh Conversion 12 August 23, 2017 20:06
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 09:57
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27


All times are GMT -4. The time now is 17:46.