|
[Sponsors] |
July 13, 2016, 08:18 |
inletbc not recognised for simpleFoam
|
#1 |
New Member
Graham
Join Date: Feb 2016
Posts: 13
Rep Power: 10 |
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 |
|
Tags |
boundary condition, inlet bc, pisofoam, simplefoam |
|
|
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 |