Timestep Size Variable by User Field Function

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

 December 31, 2013, 05:47 Timestep Size Variable by User Field Function #1 Member   ThanhToan Join Date: Sep 2010 Posts: 47 Rep Power: 8 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... elseelse if Time < T2 then... if position > p1 then... else if position < p1 then... elseelse... I really appreciate your help.

 January 3, 2014, 09:25 #2 Senior Member     siamak rahimi ardkapan Join Date: Jul 2010 Location: Copenhagen, Denmark Posts: 218 Rep Power: 10 Your question is not clear. Do you want to know the meaning of time step? trantoan2008 likes this. __________________ Good luck Siamak

 January 3, 2014, 10:33 #3 Member   ThanhToan Join Date: Sep 2010 Posts: 47 Rep Power: 8 Hi, In user field function, how can I define time step size variable as velocity variable (\$\$Velocity) or Temperature variable (\$Temperature)? Best regards

 January 5, 2014, 02:32 #4 Senior Member   KHB Join Date: Aug 2010 Location: Singapore Posts: 109 Rep Power: 8 Hi, the variable is \$TimeStep (If I understand your question correctly)

January 5, 2014, 23:00
#5
Member

ThanhToan
Join Date: Sep 2010
Posts: 47
Rep Power: 8
Quote:
 Originally Posted by lava12005 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

 January 6, 2014, 03:16 #6 Senior Member   KHB Join Date: Aug 2010 Location: Singapore Posts: 109 Rep Power: 8 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post crevoise STAR-CCM+ 2 January 28, 2013 05:25 fshak92 STAR-CCM+ 3 May 16, 2012 11:24 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16 AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06 charlotte CFX 4 March 22, 2011 10:14

All times are GMT -4. The time now is 10:42.