CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

dt and smaller time step

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2013, 10:28
Default dt and smaller time step
  #1
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Dear Foamers,

I am wondering how to use dt for some variables and another time steps smaller than dt for other variables.
Specifically,
dt :0.02 for V1......
and another dt (0.01, 20 increments of dt specified in the control) for other V2......

My best regards,
Jian
zxj160 is offline   Reply With Quote

Old   May 31, 2013, 04:20
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
Have a look at interFoam: Here we have an extra loop for subcycling of alpha, which means alpha will be solved with a fraction of the regular time step if activated.
zxj160 likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   May 31, 2013, 10:25
Default
  #3
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Many thanks. But I am wondering how to activate the subcycling of total deltaT. Where can I find the 'pimple.dict()' and the corresponding tutorial case?
....
In the alphaEqnSubCycle.H,

label nAlphaCorr(readLabel(pimple.dict().lookup("nAlphaC orr")));

label nAlphaSubCycles(readLabel(pimple.dict().lookup("nA lphaSubCycles")));
zxj160 is offline   Reply With Quote

Reply

Tags
ddt()


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



All times are GMT -4. The time now is 01:11.