RepeatCurrentTimeStep
repeat the current time step with different parameters or reduced pointcloud
Repeat the current time step with
-
- the same pointcloud, but with changes in the simulation parameters, see %RepeatCurrentTimeStep_BasedOnSamePointCloud% and RepeatCurrentTimeStep_ChangeCVconfiguration
- a reduced pointcloud, see %RepeatCurrentTimeStep_BasedOnReducedPointCloud%. Optionally, also here the simulation parameters can be changed.
MESHFREE creates a copy of the current pointcloud, does a time step, and deletes the pointcloud again. The only way to save data from the repeated time step is by
RepeatCurrentTimeStep_SaveVariables .
Finally, there is the chance to also initialize parameters of the temporary pointcloud by the original one, see
RepeatCurrentTimeStep_InitializeVariables .
# definitions of the repeating operations
RepeatCurrentTimeStep(n) = (
%RepeatCurrentTimeStep_BasedOnReducedPointCloud%, IndexOfPointCloudReduction, increaseFactorOf_H )
RepeatCurrentTimeStep(n) = (
%RepeatCurrentTimeStep_BasedOnSamePointCloud% )
RepeatCurrentTimeStep_ChangeCVconfiguration(n) = ( "ord_laplace=2" ,0, "ord_gradient=2" )
# set the approximation order (temporarily to 2 for the repeated time step)
RepeatCurrentTimeStep_SaveVariables(n) = ( %indU_2_p_corr%,
%ind_p_dyn%,
# save the dynamic pressure from the repeated time step in a user generated variable, see UserDefinedIndices
%indU_2_v(1)%,
%ind_v(1)%,
# save the x-component of the velocity from the repeated time step in a user generated variable, see UserDefinedIndices
%indU_2_v(2)%,
%ind_v(2)%,
# save the y-component of the velocity from the repeated time step in a user generated variable, see UserDefinedIndices
%indU_2_v(3)%,
%ind_v(3)% )
# save the z-component of the velocity from the repeated time step in a user generated variable, see UserDefinedIndices