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

Timestep Size Variable by User Field Function

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

Like Tree1Likes
  • 1 Post By siara817

Reply
 
LinkBack Thread Tools Display Modes
Old   December 31, 2013, 05:47
Default Timestep Size Variable by User Field Function
  #1
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 47
Rep Power: 6
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Hi all,

I am a beginner in STAR CCM+. I am wondering what is variable of timestep size in user field function of STAR CCM+?

In conditional expression, is it possible to define as below structures?
if Time > T1 then
if position > p1 then...
else if position < p1 then...
else
else if Time < T2 then...
if position > p1 then...
else if position < p1 then...
else
else...


I really appreciate your help.
trantoan2008 is offline   Reply With Quote

Old   January 3, 2014, 09:25
Default
  #2
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 218
Rep Power: 9
siara817 is on a distinguished road
Your question is not clear. Do you want to know the meaning of time step?
trantoan2008 likes this.
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Old   January 3, 2014, 10:33
Default
  #3
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 47
Rep Power: 6
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Hi,

In user field function, how can I define time step size variable as velocity variable ($$Velocity) or Temperature variable ($Temperature)?

Best regards
trantoan2008 is offline   Reply With Quote

Old   January 5, 2014, 02:32
Default
  #4
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 7
lava12005 is on a distinguished road
Hi, the variable is $TimeStep (If I understand your question correctly)
lava12005 is offline   Reply With Quote

Old   January 5, 2014, 23:00
Default
  #5
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 47
Rep Power: 6
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Quote:
Originally Posted by lava12005 View Post
Hi, the variable is $TimeStep (If I understand your question correctly)
Hi lava12005,

Thank you for taking your time.
I am wondering that the term of $Timestep is the number of timestep or timestep size?
For user field function, is it possible to define above structure?

Best regards
trantoan2008 is offline   Reply With Quote

Old   January 6, 2014, 03:16
Default
  #6
Senior Member
 
KHB
Join Date: Aug 2010
Location: Singapore
Posts: 107
Rep Power: 7
lava12005 is on a distinguished road
Hi ThanhToan,

$TimeStep is the timestep size.
Yes, it is possible to define the above structure, if else is normally defined as

(if condition)
?
(if it is true then do this)
:
(if it false then do this)

For more detail I suggest you have a look on the manual.
lava12005 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
User field function for specific heat deifnition crevoise STAR-CCM+ 2 January 28, 2013 05:25
User Field Function - interpolatePositionTable fshak92 STAR-CCM+ 3 May 16, 2012 11:24
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14


All times are GMT -4. The time now is 08:24.