|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Apr 2015
Location: EU
Posts: 38
Rep Power: 11 ![]() |
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
__________________
beep-beep |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12 ![]() |
hello, I have the same problem when I use the mapfields ultility,do you have solverd this problem?
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Dec 2015
Posts: 24
Rep Power: 10 ![]() |
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: Attempt to cast type patch to type lduInterface From function refCast<To>(From&) in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/typeInfo.H at line 114. How could I solve this issue? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Join Date: Dec 2015
Posts: 24
Rep Power: 10 ![]() |
I manage to found a solution. I simply labeled the cyclic patches as cutting patches:
Code:
cuttingPatches ( west east north south ); hope it helps. Last edited by wyldckat; December 28, 2015 at 10:30. Reason: merged two posts posted on the same day and moved related posts to the same thread and removed the redundancy links to each thread |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
direct map vs cyclic | nimasam | OpenFOAM | 2 | February 15, 2017 11:58 |
Possible createPatch/createBaffles bug? | simpomann | OpenFOAM Bugs | 2 | July 15, 2014 07:07 |
Error during initialization of "rhoSimpleFoam" | kornickel | OpenFOAM Running, Solving & CFD | 8 | September 17, 2013 05:37 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |