|
[Sponsors] |
April 20, 2011, 10:01 |
Scalar equation and a table from a file
|
#1 |
Member
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16 |
Hello, I have to solve the following problem: I have a scalar transport equation of a variable Y with a source term called Y'.
Imagine that I have values of Y in a discrete way, included in the range [0:1] and Y' values different and dependent on the Y ones (for each Y I have a Y'). Let's pretend that I want to evaluate the values of Y' from a value of Y not included in the discrete table (for instance Y = 0.005) simply making a linear interpolation. Y - Y' 0 - 10 0,1 - 12 0,2 - 56 0,3 - 78 0,4 - 98 0,5 - 99 0,6 - 56 0,7 - 21 0,8 - 12 0,9 - 11 1,0 - 5 the first question is: how to upload the table in the memory of the scalar equation I have? second: which tools are better to be used for linear interpolation? regards, alex |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Source Term on Scalar Transport Equation - crashing simulation | alessio.nz | OpenFOAM | 19 | February 8, 2011 08:38 |
Is it possible to use divergence in the source term of an scalar transport equation? | jannnesss | CFX | 0 | January 8, 2010 20:53 |
how solve a scalar equation with Fluent | tomik | FLUENT | 0 | January 5, 2006 07:38 |
transport equation for SGS scalar variance | chinthakindi | Main CFD Forum | 0 | April 27, 2004 10:26 |