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

creating a field function

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2020, 10:22
Default
  #21
New Member
 
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 5
CFD2DXY is on a distinguished road
Quote:
Originally Posted by jzyk1212 View Post
Thanks. I have values for Vm and radius but I am confused as what to put for the radial coordinate given as the model is a pipe.
you put nothing for this.. star cmm+ take the values ;-).. right click and make 3 field functions...
velocity (but scalar in this case)
radius
and Vm

for the radius and Vm you set your value and for velocity you set what I wrote to you ;-)
CFD2DXY is offline   Reply With Quote

Old   November 27, 2020, 11:53
Default
  #22
New Member
 
jas
Join Date: Nov 2020
Posts: 11
Rep Power: 5
jzyk1212 is on a distinguished road
Quote:
Originally Posted by CFD2DXY View Post
you put nothing for this.. star cmm+ take the values ;-).. right click and make 3 field functions...
velocity (but scalar in this case)
radius
and Vm

for the radius and Vm you set your value and for velocity you set what I wrote to you ;-)
Ok ive created 3 field functions as advised, am i correct in saying that radius and Vm are both dimensionless? Another thing is how can i verify that the velocity profile is parabolic through a plot?

Thanks massively for the help.
jzyk1212 is offline   Reply With Quote

Old   November 29, 2020, 04:52
Default
  #23
New Member
 
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 5
CFD2DXY is on a distinguished road
Quote:
Originally Posted by jzyk1212 View Post
Ok ive created 3 field functions as advised, am i correct in saying that radius and Vm are both dimensionless? Another thing is how can i verify that the velocity profile is parabolic through a plot?

Thanks massively for the help.
its doesent matter... star cmm+ count with value.. If you want you can write m/s or what ever
For Plot:
better you do a Scene.. right click on scene... than vector.. star cmm+ take normally velocity from self.. if not.. right click on the blue line and choice velocity... if you want to see the radial velocityprofil so click on the "+" by scene... than click on vector.. after you can see under the properties window "display mode".. there you should to choise "Line Integral"... so you can fast see that your fieldfunction works or not!

CFD2DXY

Last edited by CFD2DXY; November 29, 2020 at 07:26.
CFD2DXY is offline   Reply With Quote

Old   February 25, 2021, 11:29
Default Cannot evaluate field function Centroid
  #24
New Member
 
Prit K
Join Date: Jul 2020
Posts: 3
Rep Power: 5
Pkanugov is on a distinguished road
Hello everyone,

I am trying to create a variable density ( varying with height ) profile in a rectangular domain and the equation I'm using is:

0.2257*(pow($$Centroid[1],3))-0.4868*(pow($$Centroid[1],2))+0.06016*(pow($$Centroid[1],1))+1.301

I'm first generating a report using the expression and when I try to run the report ( after initialization ) I get an error saying:

Cannot evaluate field function Centroid.

Can someone please help me with this.

Thank you in advance.
Pkanugov is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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