Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update periodic hills example #1349

Merged
merged 3 commits into from
Nov 11, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ This section controls the flow of the simulation.

The ``method`` parameter specifies the time-stepping scheme chosen for this simulation. In this case is set to ``bdf2`` that corresponds to a second-order backward difference implicit scheme. The ``output name`` and ``output path`` are parameters that specify the name and the path for the ``.vtu`` files of the simulation, while the ``output frequency`` is relative to the number of time steps in the total time. The ratio between the total time of the simulation ``1000`` and the time step chosen ``0.1`` is 10000. Therefore, if the output frequency is set to ``1000`` a total of 11 ``.vtu`` files will be obtained including an initial output file at time 0. The total time is chosen to be long in order to consider the flow periodic, since it has already passed a significant number of hills.

.. warning:: It is important to remember that the output path folder, in this case ``output`` must exist before running the simulation.


Physical Properties
~~~~~~~~~~~~~~~~~~~
Expand Down
17 changes: 7 additions & 10 deletions examples/incompressible-flow/3d-periodic-hills/periodic-hills.prm
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,12 @@ end

subsection linear solver
subsection fluid dynamics
set method = gmres
set max iters = 5000
set relative residual = 1e-3
set minimum residual = 1e-9
set max krylov vectors = 200
set preconditioner = ilu
set ilu preconditioner fill = 0
set ilu preconditioner absolute tolerance = 1e-12
set ilu preconditioner relative tolerance = 1.00
set verbosity = verbose
set method = gmres
set max iters = 300
set relative residual = 1e-3
set minimum residual = 1e-9
set max krylov vectors = 300
set preconditioner = ilu
set verbosity = verbose
end
end
Loading