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

Control of inner iteration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2021, 10:39
Default Control of inner iteration
  #1
New Member
 
Thomas
Join Date: Jun 2021
Posts: 2
Rep Power: 0
totosor is on a distinguished road
Hello everyone,

I am working on a coupling scheme between neutronic and thermohydraulic using starccm+ v2019.2.

The fact is each physic is solved by an implicit scheme but the coupling between them is explicit so I have to use a very small time step.

A solution consist in doing external iterations that means for a same time step, repeat an iteration but I didn't find anything in starccm+ to do so.

Another solution could be possibly the control of inner iteration, like .getSimulationIterator().step(n) but I don't know if the object exists for a Macro.

If anyone has already seen something like that and can answer me I would be very grateful.

Thomas.
totosor is offline   Reply With Quote

Old   June 30, 2021, 14:06
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
It is not clear to me what question you are asking here. Can you clarify?
fluid23 is offline   Reply With Quote

Old   July 1, 2021, 03:58
Default
  #3
New Member
 
Thomas
Join Date: Jun 2021
Posts: 2
Rep Power: 0
totosor is on a distinguished road
Hi,

So I'll try to clarify.

I am looking for something to repeat the same time step with the unsteady solver. (like saving all the fields calculated at time t=t_0+dt and go back to time t_0).

One idea I have would be to stop the computation between inner iterations but I don't know if it is possible.

Thx.
totosor is offline   Reply With Quote

Old   July 1, 2021, 08:28
Default
  #4
Member
 
Join Date: Nov 2019
Posts: 98
Rep Power: 7
FliegenderZirkus is on a distinguished road
Hi, I'm not sure if this helps, but you can run a specified number of iterations, e.g. 3, by writing

sim = getActiveSimulation();
sim.getSimulationIterator().iterate(3, true);


Running three time steps instead could look like this:

sim.getSimulationIterator().run(3, true);


There's also the step() method you mentioned and to be honest I'm not quite sure how that behaves - for a transient simulation and if if you specify number of steps I'd guess it's the same as run()?
FliegenderZirkus is offline   Reply With Quote

Reply

Tags
coupling, inner iteration, macro


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
Slow calculation time on CFD server killian153 Hardware 4 July 27, 2021 08:28
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 04:21
Radiation Modeling Chris89 CFX 20 August 14, 2014 08:51
Ansys CFX exited with return code 1. dheelibun CFX 8 May 7, 2014 08:21
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08


All times are GMT -4. The time now is 15:17.