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

Field function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2012, 11:13
Arrow Field function
  #1
Member
 
David L
Join Date: May 2012
Posts: 43
Rep Power: 14
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, 06:27
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22
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:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   May 28, 2012, 20:25
Default
  #3
Member
 
David L
Join Date: May 2012
Posts: 43
Rep Power: 14
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, 12 views)
File Type: png 3.png (18.9 KB, 9 views)
fisicas1 is offline   Reply With Quote

Old   May 29, 2012, 19:56
Default
  #4
Member
 
David L
Join Date: May 2012
Posts: 43
Rep Power: 14
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)

"table

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

Reply

Tags
field function


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 05:49
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
Force Report help~ or maybe Custom Field Function sailor FLUENT 0 April 13, 2011 04:45
Interface Matching and Field Function problems PLUH STAR-CCM+ 3 July 6, 2009 09:33


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