CFD Online Logo CFD Online URL
Home > Forums > STAR-CCM+

Field function

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

LinkBack Thread Tools Display Modes
Old   May 24, 2012, 10:13
Arrow Field function
David L
Join Date: May 2012
Posts: 43
Rep Power: 7
fisicas1 is on a distinguished road
I want to create a field function that it gets a value (boundary condition) a one superficie with (0,0,0) of my new coordinate in the Coordinate System--> Laboratory.

I believe that my function will be

newfuntion(3,@CoordinateSystem("Laboratory.Local Coordinate Systems.superficie"))

but I have some systax error.

I mean I have asuperfie with in one new coordenate system, I want that this superfice has the value 3 kw for all area, somebody know the error of my field funtion.
fisicas1 is offline   Reply With Quote

Old   May 26, 2012, 05:27
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 15
abdul099 is on a distinguished road
I'm sorry, but I've got absolutely no clue what you try to achieve. Could you describe your issue a little closer?
For me it looks like you try to set a boundary condition to a constant value, so why do you need a field function?
We do three types of jobs here:
You may choose any two!
abdul099 is offline   Reply With Quote

Old   May 28, 2012, 19:25
David L
Join Date: May 2012
Posts: 43
Rep Power: 7
fisicas1 is on a distinguished road
Sorry I am beginner in this area!!

my problem, I have only a region(fluid), in this area I have a mesh "generalized cylinde"r and only in specific area of this fluid i used outward extruder (tube), you can see in the picture 1.

for the region fluid I used the model.

"constant Density, gradients, Linear pressure strain two-layer, liquid, reynols stress turbulence, reynolds-averaged navier-stokes, segregaded navier- stokes"

for the region outward extruder (pipe) use the model.

" constant density, Gradients, Segregated solid energy, solid, steady and three dimension"
you can see in the picture 2.

the outward extruder has a heat flux which is programed by field function which depend of the position in the pipe. I know the inlet temperature, inlet pressure and inlet mass fluid. I want to know the distribution the temperaute arround of the pipe.

frist problem. I need the solver of my inlet. exactlyI do not know to obtend this inicial condition.

Second problem. Warning: "7" interface type star.common.ContactInterface is incompatible with selected models. Reason: Model SegregatedSolidEnergyModel is incompatible with model(s) on the other side.

now I do not have problem with the field function I get this field fuction.

could you help me better?
Attached Images
File Type: png 1.png (44.2 KB, 4 views)
File Type: png 3.png (18.9 KB, 4 views)
fisicas1 is offline   Reply With Quote

Old   May 29, 2012, 18:56
David L
Join Date: May 2012
Posts: 43
Rep Power: 7
fisicas1 is on a distinguished road
I want to interpolate, I want that when the value is interpolated in my table the 2th column used theta of my coordinate cylinder, and I will have values diferent for a superficie, but I do not know that theta will be the coordenate in my superficie

interpolateTable(@Table("distribution"),"function" , LINEAR,"theta", $theta)


distribution theta
2111 1
2122 2
fisicas1 is offline   Reply With Quote


field function

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
problems after decomposing for running OpenFOAM 6 December 23, 2015 15:27
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
Force Report help~ or maybe Custom Field Function sailor FLUENT 0 April 13, 2011 03:45
Interface Matching and Field Function problems PLUH STAR-CCM+ 3 July 6, 2009 08:33

All times are GMT -4. The time now is 22:45.