How to restart a run, allowing the solver to read the values from a previous results file, but giving own values for certain variables and/or domains?

Example1:
Simulation with two domains D1 and D2.
First simulation carried out, then restart reading the simulation1.res for D1 and assigning a new value for D2 (not read from simulation1.res).

Example2:
First simulation carried out, then restart reading the simulation1.res for all variables, but overriding some of the variables with new values (p, T, etc.)


Initialisation with "Automatic" or "Automatic with Value" will not work for the custom restart, as it will read the variables from the results file.

In order to achive this:
1. Create a def file with "Automatic" initialisation (for Example2, do not use global initialisation in CFX-Pre, but initialisation per domain)
2. In SolverManager, use Edit Definition file and switch the initialisation of the desired variable to be "Value" instead of "Automatic", giving the desired value. This value will be used for the restart instead results from previous run.

The same can be done for Example1, letting D1 initialisation as "Automatic", and switching D2 initialisation to "Value" entering the desired value.





Show Form
No comments yet. Be the first to add a comment!