|
[Sponsors] |
May 24, 2012, 11:13 |
Field function
|
#1 |
Member
David L
Join Date: May 2012
Posts: 43
Rep Power: 14 |
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. |
|
May 26, 2012, 06:27 |
|
#2 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22 |
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! |
|
May 28, 2012, 20:25 |
|
#3 |
Member
David L
Join Date: May 2012
Posts: 43
Rep Power: 14 |
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? |
|
May 29, 2012, 19:56 |
|
#4 |
Member
David L
Join Date: May 2012
Posts: 43
Rep Power: 14 |
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 . . . " |
|
Tags |
field function |
|
|
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 |