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

Field function definition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 27, 2013, 07: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, 15:38
Default
  #2
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
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

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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 98 October 18, 2014 15:43
Mass Flow Rate Custom Field Function AJoubert FLUENT 2 March 23, 2013 09:50
Unsteady Parabolic Field Function smorls Main CFD Forum 0 March 19, 2013 13:11
Field function lcg44 STAR-CCM+ 1 November 30, 2011 00:13
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


All times are GMT -4. The time now is 06:48.