RepeatCurrentTimeStep

repeat the current time step with different parameters or reduced pointcloud

Repeat the current time step with
  1. the same pointcloud, but with changes in the simulation parameters, see %RepeatCurrentTimeStep_BasedOnSamePointCloud% and RepeatCurrentTimeStep_ChangeCVconfiguration
  2. 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
List of members:
%RepeatCurrentTimeStep_BasedOnReducedPointCloud% repeat the current time step based on a reduced point cloud
%RepeatCurrentTimeStep_BasedOnSamePointCloud% repeat current time step keeping the pointcloud exactly as original
RepeatCurrentTimeStep_ChangeCVconfiguration change the configuration of the common_variables.dat for the repeating of time steps
RepeatCurrentTimeStep_InitializeVariables initialize the (temporary) pointcloud of a repeating operation for particular entities
RepeatCurrentTimeStep_SaveVariables save results from a repeated time step on the original pointcloud
RepeatCurrentTimeStep_AdditionalComputationsAfterDataTransfer additional computations on original pointcloud after data transfer is finished