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

Freestream Boundary Condition Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2014, 21:24
Default Freestream Boundary Condition Error
  #1
Senior Member
 
Daniel
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 156
Rep Power: 16
dancfd is on a distinguished road
Hello all,

I am trying to run a 2D airfoil case with variable freestream. Unfortunately, the need for a non-reflective boundary condition is making things difficult. I tried setting the following boundaries (solver is rhoCentralFoam, turbulence model is kwSST):

U: inlet uniformFixedValue, outlet zeroGradient
p: inlet, outlet: freestreamPressure
k, w, rho, T: inlet, outlet: freestream, freestreamValue internalField

I get the following error when running:

Code:
--> FOAM FATAL ERROR: 
[0] Attempt to cast type uniformFixedValue to type freestream
[0] 
[0]     From function refCast<To>(From&)
[0]     in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/typeInfo.H at line 114.
[0] 
FOAM parallel run aborting
Could anyone please suggest what may be causing this? I suspect there must be some dependency between the type of boundary on U and the type of boundary on another parameter, but this is not clear. Also, the path for the error is strange because my source code is in /opt/openfoam211 and not /home/opencfd ... that path does not exist on my computer! According to the Doxygen documentation, typeInfo.H is called by meshing files and solvers... not clear to me where this failure is originating from.

Thanks in advance for any help that can be offered.

Regards,

Daniel
dancfd is offline   Reply With Quote

Reply


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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 07:43
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07


All times are GMT -4. The time now is 22:32.