|
[Sponsors] |
October 5, 2014, 21:28 |
|
#6 |
Senior Member
|
Hello
I need varying BC for interstitialInletVelocity which can be found in DPMFoam/Goldschemidt. Using table for fixed value: Code:
bottom { type uniformFixedValue; uniformValue table ( (0 (0 0 1)) (0.001 (0 0 2)) (0.002 (0 0 3)) (0.003 (0 0 4)) ); } The default is: Code:
bottom { type interstitialInletVelocity; inletVelocity uniform (0 0 1); value uniform (0 0 1); phi phi.air; alpha alpha.air; } Code:
bottomSB { type interstitialInletVelocity; inletVelocity uniformFixedValue; uniformValue table ( (0 (0 0 1)) (0.001 (0 0 2)) (0.002 (0 0 3)) (0.003 (0 0 4)) ); value table ( (0 (0 0 1)) (0.001 (0 0 2)) (0.002 (0 0 3)) (0.003 (0 0 4)) ); phi phi.air; alpha alpha.air; } Code:
--> FOAM FATAL IO ERROR: expected keyword 'uniform' or 'nonuniform', found table file: /home/user/OpenFOAM/user-2.3.0/run/tutorials/lagrangian/DPMFoam/test/0/U.air.boundaryField.bottom from line 52 to line 70. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/user/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/Field.C at line 304. FOAM exiting Code:
--> FOAM FATAL IO ERROR: wrong token type - expected Scalar, found on line 64 the punctuation token '(' file: /home/user/OpenFOAM/user-2.3.0/run/tutorials/lagrangian/DPMFoam/test/0/U.air.boundaryField.bottom.value at line 64. From function operator>>(Istream&, Scalar&) in file lnInclude/Scalar.C at line 93. FOAM exiting Best, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time dependant pressure boundary condition | yosuke1984 | OpenFOAM Verification & Validation | 3 | May 6, 2015 06:16 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 06:49 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 11:32 |
Time Varying Boundary Conditon | ashish | CFX | 3 | February 15, 2005 06:21 |