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

inletbc not recognised for simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2016, 08:18
Smile inletbc not recognised for simpleFoam
  #1
New Member
 
Graham
Join Date: Feb 2016
Posts: 13
Rep Power: 10
benham is on a distinguished road
Hi there,

I implemented a non-uniform (parabola) inlet boundary condition for pisoFoam, but when I try to use it for simpleFoam, I get the following error:

--> FOAM FATAL IO ERROR:
Unknown patchField type inletbc for patch type patch

My code is as follows:

type codedFixedValue;
value uniform (0 0 0);
redirectType inletbc;
code
#{
vector dir=vector(0,1,0);
scalarField var=patch().Cf()&dir;
scalarField value=(1.0 - var)*(var+1.0);
operator==(vector(1,0,0)*value);
#};

Any help would be much appreciated!

Graham
benham is offline   Reply With Quote

Reply

Tags
boundary condition, inlet bc, pisofoam, simplefoam


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
[Commercial meshers] fluent patch type periodic not recognised although no periodics are defined Bando OpenFOAM Meshing & Mesh Conversion 4 December 4, 2012 15:06
Accelerating pre and checking the mfr at exit how to hook udf to Pressure inlet(BC) kokoory Fluent UDF and Scheme Programming 0 August 17, 2011 09:20


All times are GMT -4. The time now is 17:00.