CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

Field Function for interpolating a table to regulate a mass-flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2012, 03:59
Default Field Function for interpolating a table to regulate a mass-flow
  #1
New Member
 
Eike
Join Date: Sep 2011
Posts: 18
Rep Power: 5
Eike is on a distinguished road
I'm new to using field functions and am looking for a function which can regulate a mass flow or interpolate a table.

I need different values on the mass flow relating to fractions of time. For example 10kg/s from t=0s to t=300s followed by followed by 0kg/s from t=300s to t=600s followed by 10kg/s from t=600s to t=900s


As much more values are intended for the future, I would like to use a table and interpolate it. I could generate a table with time at the first column and mass flow at the second column. What's the field function for interpolating the table? I tried to figure it out, but am not sure if it is correct:

interpolateTable(@Table("mass_flow"), "Time",LINEAR,"Mass_Flow",$Time)


Can you help me with that function?
Eike is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
reversed flow at velocity inlet / mass flow inlet ib FLUENT 1 March 26, 2007 13:11
Mass Flow Inlet Pravir Kumar Rai FLUENT 0 February 19, 2003 15:03
Mass Flow Inlet Pravir Kumar Rai FLUENT 0 February 17, 2003 20:23


All times are GMT -4. The time now is 12:19.