CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

inletbc not recognised for simpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2016, 08:18
Smile inletbc not recognised for simpleFoam
New Member
Join Date: Feb 2016
Posts: 13
Rep Power: 9
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:

Unknown patchField type inletbc for patch type patch

My code is as follows:

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

Any help would be much appreciated!

benham is offline   Reply With Quote


boundary condition, inlet bc, pisofoam, simplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 18:11.