The iteration¶
The variables are described in The iteration.
Methods of the class homard¶
|
|
Methods of both classes cas and iteration ************************************” See also in The case.
Default: the produced mesh has got the same name as the iteration
|
|
Methods of the class iteration¶
General methods¶
|
|
|
|
|
|
|
|
|
|
|
|
Information about the meshes¶
|
|
|
|
|
Information about the field¶
The file of the fields¶
|
|
The time step for the driving field¶
If no time step is defined for the field or if a single time step is defined for the field, the definition of a time step is useless. That will be the default choice.
|
|
|
|
|
The time steps for the fields to interpolate¶
The choice of the fields to interpolated are defined in the hypothesis (see The hypothesis). For a given field, if nothing is declared, every single time step will be considered. If some time steps are wanted, they must be defined as follows.
|
|
|
Miscellenaous¶
|
|
Example¶
To create the first iteration, the starting point is the iteration associated to the initial mesh. It is the one that defines the case.
iter_name = "Iteration_1"
iter_1 = case_1.NextIteration(iter_name)
iter_1.SetField(field_file)
iter_1.SetTimeStepRank( 0, 0)
iter_1.SetMeshName("maill_01")
iter_1.SetMeshFile("/local00/M.01.med")
iter_1.AssociateHypo("HypoField")
codret = iter_1.Compute(1, 2)
Then, the next iteration is created from the current iteration.
iter_name = "Iteration_2"
iter_2 = iter_1.NextIteration(iter_name)
iter_2.SetField(field_file)
iter_2.SetTimeStepRank( 1, 1)
iter_2.SetMeshName("maill_02")
iter_2.SetMeshFile("/local00/M.02.med")
iter_2.AssociateHypo("HypoField")
codret = iter_2.Compute(1, 2)
Similar graphical input¶
Look at The iteration