Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions avaframe/com1DFA/com1DFACfg.ini
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ timeStepDistance = 5
dt = 0.1
# End time [s]
tEnd = 400
# to use a variable time step (time step depends on kernel radius)
# to use a time step that is consistent with the kernel radius (i.e. time step depends on kernel radius)
sphKernelRadiusTimeStepping = False
# Upper time step limit coefficient if option sphKernelRadiusTimeStepping is chosen.
# if option sphKernelRadiusTimeStepping is True, cMax and the sphKernelRadius define the computational time step
cMax = 0.02
# stopCriterion (based on massFlowing or kinEnergy)
stopCritType = kinEnergy
Expand Down
4 changes: 2 additions & 2 deletions docs/com1DFAAlgorithm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ The mass and momentum equations described in :ref:`theoryCom1DFA:Governing Equat
in time using an operator splitting method. The different forces involved are sequentially added to update the velocity
(see :ref:`DFAnumerics:Adding forces`).
Position is then updated using a centered Euler scheme.
The time step can either be fixed or dynamically computed using the Courant–Friedrichs–Lewy (CFL) condition
(in the second case one must set ``cflTimeStepping`` to ``True`` and set the desired CFL coefficient).
The time step can either be fixed or computed to be consistent with the SPH kernel size (see
``sphKernelRadiusTimeStepping`` in the com1DFA configuration).

Go back to :ref:`com1DFAAlgorithm:Algorithm graph`

Expand Down
Loading