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

Time step via field function

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cwl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2022, 17:16
Post Time step via field function
  #1
New Member
 
Dan Woods
Join Date: Jan 2022
Posts: 4
Rep Power: 4
dvdw is on a distinguished road
Hi,

I am new to STAR-CCM+ and I can't figure out how to use the following function to define my time step:
(${Time} <= 1.5 ? 0.001*${Time}+1e-4 : 0.0015)

I've tried entering the function under the solver but I get an error since I assume it expects a numeric value. How would I go about using a function instead?

Thanks
dvdw is offline   Reply With Quote

Old   February 16, 2022, 11:24
Default
  #2
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 438
Rep Power: 18
cwl is on a distinguished road
That usually works well.
Did you create a field function and used it in the time strp control - or just used that expression directly there?
dvdw likes this.
cwl is offline   Reply With Quote

Old   February 16, 2022, 14:23
Default
  #3
New Member
 
Dan Woods
Join Date: Jan 2022
Posts: 4
Rep Power: 4
dvdw is on a distinguished road
Thanks for the response. I think it may have been a syntax issue after all
dvdw is offline   Reply With Quote

Reply

Tags
field function, time step, transient


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
Convergence problem of OF WUYing OpenFOAM Running, Solving & CFD 2 September 20, 2021 11:09
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37


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