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

timeVaryingMappedFixedValue not Updated with refineMesh (v2006)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 09:32
Unhappy timeVaryingMappedFixedValue not Updated with refineMesh (v2006)
  #1
New Member
 
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12
CoolHand is on a distinguished road
Foamers,

My case is a large mesh (~450e6) which causes blockMesh to fail (bad number). I got around that problem by starting with a coarse mesh and using refineMesh -parallel after decomposePar. I'm using timeVaryingMappedFixedValue at the inlet and when I got to run pisoFoam I get an error like this:

Code:
[3357]--> FOAM FATAL IO ERROR:
[3357] size 501 is not equal to the given value of 2004
[3357]
[3357] ... /processor3357/0/U.boundaryField.inlet at line 58 to 60.
[3357]     From Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = Foam::Vector<double>; Foam::label = int]
[3357]     in file [3202]
...for each processor on the inlet. The numbers are different for each processor since I'm using scotch decomposition but they're always 1/4 ratio so clearly the problem is that the assignment that timeVaryingMappedFixedValue gets from blockMesh isn't updated by refineMesh.

I've tried several combinations like:

Code:
decomposePar  
refineMesh 
decomposePar -fields
Code:
decomposePar  
refineMesh 
decomposePar -copyZero
Code:
decomposePar -noZero
refineMesh 
decomposePar -copyZero
I've also tried
Code:
decomposePar
refineMesh
reconstructPar
...but reconstructPar gives a similar error. So far nothing has worked. Is there another tool or option that can update the decomposed inlet BCs to match the refinedMesh? I would also accept advice on how to get blockMesh to do the large mesh in the first place, although I'm skeptical that there is such a way since I'm running it on a large memory cluster node and it still fails. Thanks!
CoolHand is offline   Reply With Quote

Reply

Tags
decomposepar, mappedfixedvalue, refinemesh, timevarying


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
OpenFOAMŪ v2006: New and updated solvers and physics OPFO OpenFOAM Programming & Development 0 August 28, 2020 06:57
[OpenFOAM.com] complile v2006 with runTimePostProcessing functionality snak OpenFOAM Installation 2 August 1, 2020 08:08
[mesh manipulation] multiple calls to refineMesh parallel w/ dict failing Regis_ OpenFOAM Meshing & Mesh Conversion 2 June 4, 2015 13:44
[mesh manipulation] checkMesh Erros after refineMesh mgdenno OpenFOAM Meshing & Mesh Conversion 10 October 14, 2014 05:16
[mesh manipulation] Cannot get refineMesh to run in parallel smschnob OpenFOAM Meshing & Mesh Conversion 2 June 3, 2014 11:20


All times are GMT -4. The time now is 10:02.