Map cyclic BC to non-cyclic
Hello everyone,
I want to use mapFields to interpolate patch values from cyclic case to noncyclic. Problem is that I get ldu interface error when I try to do this (like when you try to use cyclic BC on a 'noncyclic mesh'). When no cyclic BC are used, there is no problem. OF is 2.3.x. Is there a workaround this? Thanks a bunch, PS --> FOAM FATAL ERROR: Attempt to cast type patch to type lduInterface From function refCast<To>(From&) in file /home/drigler/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude/typeInfo.H at line 114. FOAM aborting |
hello, I have the same problem when I use the mapfields ultility,do you have solverd this problem?
Quote:
|
Convert cyclic patches to regular patches with mapFields
Dear foamers
I am going to calculate plume dispersion in the atmospheric boundary layer (ABL) with OpenFOAM. The ABL structure is best calculated by LES employing cyclic boundary conditions on the east, west, etc. patches of a simple parallelepipedical mesh. However, cyclic boundary conditions are not appropriate for the passive scalar dispersion calculation. Therefore, I was going to use a two-step approach in which the resulting U and nuSgs fields are maped onto an identical mesh with regular patches instead of cyclics. However, Code:
mapFields ../ABLSolver/ -fields '(U nuSgs)' Code:
--> FOAM FATAL ERROR: How could I solve this issue? |
I manage to found a solution. I simply labeled the cyclic patches as cutting patches:
Code:
cuttingPatches hope it helps. |
All times are GMT -4. The time now is 04:36. |