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

Field function definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2013, 06:29
Default Field function definition
  #1
New Member
 
leo steven
Join Date: Mar 2013
Posts: 1
Rep Power: 0
695892131 is on a distinguished road
Hi,
in my project I need to define pressure as a function. The pressure should be 7000*(1+cos(2*pi*x/L)). L is the length of the pipe which is 100m. x is the position.
Here is my field function definition 7000*(1+cos(2*pi*$$PositionX/100)) .Can anybody tell me where is wrong? Thanks in advance
695892131 is offline   Reply With Quote

Old   March 27, 2013, 14:38
Default
  #2
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Quote:
Originally Posted by 695892131 View Post
Hi,
in my project I need to define pressure as a function. The pressure should be 7000*(1+cos(2*pi*x/L)). L is the length of the pipe which is 100m. x is the position.
Here is my field function definition 7000*(1+cos(2*pi*$$PositionX/100)) .Can anybody tell me where is wrong? Thanks in advance

I think $$PositionX should be $$Position[0]

Also, youll have to manually type in the value for pi, STAR-CCM+ doesnt recognize it by default
rwryne is offline   Reply With Quote

Reply


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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
Mass Flow Rate Custom Field Function AJoubert FLUENT 2 March 23, 2013 08:50
Unsteady Parabolic Field Function smorls Main CFD Forum 0 March 19, 2013 12:11
Field function lcg44 STAR-CCM+ 1 November 29, 2011 23:13
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27


All times are GMT -4. The time now is 18:38.