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

Attempt to cast type wall to type lduInterface

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 6 Post By rapierrz
  • 1 Post By Johnson K. Liu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2016, 11:37
Question Attempt to cast type wall to type lduInterface
  #1
Member
 
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 14
mohsen.boojari is on a distinguished road
Hi,
I'm trying to run a test case using PisoFoam but i faced with this error . can any one help me?

Code:
FOAM FATAL ERROR: 
Attempt to cast type wall to type lduInterface

    From function refCast<To>(From&)
    in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/typeInfo.H at line 114.

FOAM aborting
THANKS
mohsen.boojari is offline   Reply With Quote

Old   July 8, 2016, 05:36
Default
  #2
New Member
 
Thomas
Join Date: Sep 2015
Posts: 3
Rep Power: 11
Quin404 is on a distinguished road
Hi Mohsen,

Did you find the cause of the error?

Thanks
Quin404 is offline   Reply With Quote

Old   July 8, 2016, 14:47
Default
  #3
Senior Member
 
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11
rapierrz is on a distinguished road
Hi Mohsen,

Check your boundary condition and boundary file in polymesh.

definition of your patches in 0 and polyMesh should be same.
dokeun, serles, jgross and 3 others like this.
rapierrz is offline   Reply With Quote

Old   April 21, 2021, 02:09
Default
  #4
New Member
 
Johnson Liu
Join Date: Apr 2021
Location: Hong Kong
Posts: 5
Rep Power: 5
Johnson K. Liu is on a distinguished road
Quote:
Originally Posted by rapierrz View Post
Hi Mohsen,

Check your boundary condition and boundary file in polymesh.

definition of your patches in 0 and polyMesh should be same.
But the same face might have different boundary conditions in the 0 directory. For example, inlet might be set as freestream in k but zeroGradient in p. In this case, what should be the type for the inlet in the boundary file in polymesh?
Johnson K. Liu is offline   Reply With Quote

Old   April 21, 2021, 04:38
Default
  #5
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Quote:
Originally Posted by Johnson K. Liu View Post
But the same face might have different boundary conditions in the 0 directory. For example, inlet might be set as freestream in k but zeroGradient in p. In this case, what should be the type for the inlet in the boundary file in polymesh?
It should be a type "patch"
Have a look at the user guide and use tutorials as examples.

https://cfd.direct/openfoam/user-gui...#x25-1770005.2
Yann is online now   Reply With Quote

Old   May 15, 2021, 09:41
Default
  #6
New Member
 
Johnson Liu
Join Date: Apr 2021
Location: Hong Kong
Posts: 5
Rep Power: 5
Johnson K. Liu is on a distinguished road
Quote:
Originally Posted by Yann View Post
It should be a type "patch"
Have a look at the user guide and use tutorials as examples.

https://cfd.direct/openfoam/user-gui...#x25-1770005.2
Thank you very much Yann!
Yann likes this.
Johnson K. Liu is offline   Reply With Quote

Old   March 10, 2023, 07:55
Default
  #7
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 11
Bana is on a distinguished road
Hello All,

Does anybody know the source of this error for groovyBC boundary condition?

--------------------------------------------------------------------------------------
--> FOAM FATAL ERROR:
Attempt to cast type groovyBC to type fixedValue

From function refCast<To>(From&)
in file /home/mbanaker/foam/foam-extend-4.1/src/foam/lnInclude/typeInfo.H at line 114.

FOAM aborting

--------------------------------------------------------------

There are some solutions online for similar cases (not groovyBC) that is resolved by changing the type of boundary from wall to patch in polymesh/boundary file, but not a solution for this case apparently.


Thanks in advance for sharing your experience with me.
Bana is offline   Reply With Quote

Reply

Tags
aborting, fatal error, wall


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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 11:05
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 20:50
Simulation of Radial Fan with simpleFoam MRF nash OpenFOAM Running, Solving & CFD 2 November 5, 2015 11:12
Divergent temperature in chtMultiRegion(Simple)Foam akrasemann OpenFOAM Running, Solving & CFD 13 March 24, 2014 03:54
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


All times are GMT -4. The time now is 11:19.