|
[Sponsors] |
October 5, 2022, 13:08 |
tableFile usage for flowRateInletVelocity
|
#1 |
New Member
T
Join Date: Jul 2022
Posts: 3
Rep Power: 4 |
I am trying to use flow rates from an external file however OF keeps complaining about "values" keyword missing. The template according the documentation is
Code:
<entryName> tableFile; <entryName>Coeffs { dimensions [0 0 1 0 0]; // optional dimensions fileName dataFile; // name of data file outOfBounds clamp; // optional out-of-bounds handling interpolationScheme linear; // optional interpolation method } Code:
inlet { type flowRateInletVelocity; volumetricFlowRate tableFile; Coeffs { // dimensions [0 0 1 0 0]; // optional dimensions fileName dataFile; // name of data file outOfBounds clamp; // optional out-of-bounds handling interpolationScheme linear; // optional interpolation method } Code:
( (0.0 0.005) . . (0.5 0.02) ); Code:
keyword values is undefined in dictionary "foam/tableFile_test/0/U/boundaryField/inlet/volumetricFlowRateCoeffs" |
|
October 5, 2022, 13:44 |
|
#2 |
New Member
T
Join Date: Jul 2022
Posts: 3
Rep Power: 4 |
ok, looks like I found the solution, and here is the modified version that works:
Code:
inlet { type flowRateInletVelocity; volumetricFlowRate tableFile; volumetricFlowRateCoeffs { // dimensions [0 0 1 0 0]; // optional dimensions file "$FOAM_CASE/0/inflow"; // name of data file // fileName "$FOAM_CASE/0/inflow"; // name of data file outOfBounds clamp; // optional out-of-bounds handling interpolationScheme linear; // optional interpolation method } } |
|
Tags |
flowrateinletvelocity, openfoam 10, tablefile |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large memory usage for steady simulation | Wenqiang | SU2 | 2 | May 15, 2020 14:40 |
How to use 2 tableFile? | IgnacioSarmientoINH | OpenFOAM Pre-Processing | 1 | August 23, 2018 08:23 |
New workstation for different usage scenarios - CPU and RAM | natem | Hardware | 6 | August 7, 2013 03:47 |
Boosting CPU usage | earlybird | FLUENT | 2 | November 2, 2012 11:32 |
OpenFOAM Solver/BC usage description | murrayjc | OpenFOAM | 3 | August 25, 2009 05:48 |