The Tcl script can define any of the stardard Tdyn Tcl procedures. These procedures are described next.
TdynTcl_InitiateProblem
This procedure is called at the beginning of the execution, once all the data structures have been created.
TdynTcl_StartNewFluidStep
This procedure is called when a new time step is started in fluid domain.
TdynTcl_StartNewSolidStep
This procedure is called when a new time step is started in solid domain.
TdynTcl_FinishFluidStep
This procedure is called when a time step is finished in fluid domain.
TdynTcl_FinishSolidStep
This procedure is called when a time step is finished in solid domain.
TdynTcl_AssembleFluidMomentumX, TdynTcl_AssembleFluidMomentumY, TdynTcl_AssembleFluidMomentumZ
This procedure is invoked once the X/Y/Z component of the velocity momentum equation in the fluid domain has been assembled. It allows modifing Navier Stokes equations, for example by imposing imposing boundary conditions for every component of the velocity vector.
TdynTcl_AssembleSolidMomentumX, TdynTcl_AssembleSolidMomentumY, TdynTcl_AssembleSolidMomentumZ
This procedure is invoked once the X/Y/Z component of the velocity momentum equation in the solid domain has been assembled. It allows modifing Navier Stokes equations, for example by imposing boundary conditions for every component of the velocity vector.
TdynTcl_AssembleFluidPressure
This procedure is invoked once the continuity equation of the Navier Stokes equations in fluid domain has been assembled. It allows modifing Navier Stokes equations, for example by imposing boundary conditions for the pressure.
TdynTcl_AssembleSolidPressure
This procedure is invoked once the continuity equation of the Navier Stokes equations in solid domain has been assembled. It allows modifing Navier Stokes equations, for example by imposing boundary conditions for the pressure.
TdynTcl_AssembleFluidODDLSPressure
This procedure is invoked once the continuity equation of the Navier Stokes equations for ODD level set solverhas been assembled. It allows modifing Navier Stokes equations, for example by imposing boundary conditions for the pressure.
TdynTcl_AssembleFluidTemperature
This procedure is invoked once the temperature equation for the fluid has been assembled. It allows modifing temperature equation, for example by imposing boundary conditions for the fluid temperature field.
TdynTcl_AssembleSolidTemperature
This procedure is invoked once the temperature equation for the solid has been assembled. It allows modifing temperature equation, for example by imposing boundary conditions for the solid temperature field.
TdynTcl_AssembleFluidSpecies index
This procedure is invoked once the equation for the fluid species index has been assembled. It allows modifing species equation, for example by imposing boundary conditions for the fluid species concentration field.
TdynTcl_AssembleSolidSpecies index
This procedure is invoked once the equation for the solid species index has been assembled. It allows modifing species equation, for example by imposing boundary conditions for the solid species concentration field.
TdynTcl_AssembleFluidPhiVariable index
This procedure is invoked once the equation for the fluid phi variable defined by the index has been assembled. It allows modifing variable equation, for example by imposing boundary conditions for the fluid variable field.
TdynTcl_AssembleSolidPhiVariable index
This procedure is invoked once the equation for the solid phi variable defined by the index has been assembled. It allows modifing variable equation, for example by imposing boundary conditions for the solid variable field.
TdynTcl_CalculateDensityFromPressure
This procedure is invoked once the density field has been updated in incompressible or slightly compressible flows.
TdynTcl_CalculatePressureFromDensity
This procedure is invoked once the pressure field has been updated in fully compressible flows.
TdynTcl_MoveBody name
This procedure is invoked once the body movement of body name is evaluated. It allows re-defining body movement.