AmrWind module of the API for numerical simulations of fluid flows.
Bases: Simulator
Class to invoke a generic AmrWind simulation on the API.
Initialize the AmrWind simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the this simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
CaNS module of the API for numerical simulations of fluid flows.
Bases: Simulator
Class to invoke a generic CaNS simulation on the API.
Initialize the CaNS simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
CM1 module of the API.
Bases: Simulator
Class to invoke a generic CM1 simulation on the API.
Initialize the CM1 simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
COAWST simulator module of the API.
Bases: Simulator
Class to invoke a generic COAWST simulation on the API.
Initialize the COAWST simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
CP2K module of the API.
Bases: Simulator
Class to invoke a generic CP2K simulation on the API.
Initialize the CP2K simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
Delft3D module of the API.
Bases: Simulator
Class to invoke a generic Delft3D simulation on the API.
Initialize the simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
DualSPHysics simulator module of the API.
Bases: Simulator
Class to invoke a generic DualSPHysics simulation on the API.
Initialize the DualSPHysics simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Executes a DualSPHysics simulation.
PartFluid_
```
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
FDS simulator module of the API.
Bases: Simulator
Class to invoke a generic FDS simulation on the API.
Initialize the FDS simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
if provided, Smokeview will be automatically
invoked after the simulation using the following command:
> smokeview -runscript <smokeview_case_name>
A .ssf (smokeview script) file with a matching name must be
present in the input directory. The case name must also match
the basename of the .smv file generated by the FDS
simulation (without the .smv extension).
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
FVCOM simulator module of the API.
Bases: Simulator
Class to invoke a generic FVCOM simulation on the API.
Initialize the FVCOM simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
The modules used to compile each binary can be found in the
kutu repository, in the make.inc and make_estuary.inc files
[https://github.com/inductiva/kutu/tree/main/simulators/fvcom/](https://github.com/inductiva/kutu/tree/main/simulators/fvcom/)
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
GROMACS module of the API
Bases: Simulator
Class to invoke any GROMACS command on the API.
Initialize the GROMACS simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run a list of GROMACS commands.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
GX module of the API for numerical simulations.
Bases: Simulator
Class to invoke a generic GX simulation on the API.
Initialize the GX simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
MOHID simulator module of the API.
Bases: Simulator
Class to invoke a generic MOHID simulation on the API.
Initialize the MOHID simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
NWChem simulator module of the API.
Bases: Simulator
Class to invoke a generic NWChem simulation on the API.
Initialize the NWChem simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
OpenFAST module of the API for wind turbine simulations.
Bases: Simulator
Class to invoke a generic OpenFAST simulation on the API.
Initialize the OpenFAST simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
OpenFOAM module of the API for fluid dynamics.
Bases: Simulator
Class to invoke a generic OpenFOAM simulation on the API.
Users can choose between the ESI or the Foundation version by selecting the version on the initiliasation. Be aware, that some input files may only work for a specific version.
Initialize the OpenFOAM simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
OpenSees module of the API.
Bases: Simulator
Class to invoke a generic OpenSees simulation on the API.
Initialize the OpenSees simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
OpenTelemac module of the API.
Bases: Simulator
Class to invoke a generic OpenTelemac simulation on the API.
Initialize the simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
Class to run commands on Quantum Espresso.
Bases: Simulator
Class to run commands on Quantum Espresso.
Initialize the Quantum Espresso simulator.
Get the list of available commands for Quantum Espresso. :returns: List of available commands for Quantum Espresso.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the this simulator.
Run the simulation. input_dir: Path to the directory containing the input files. commands: List of commands to run. on: The computatißonal resource to launch the simulation on. storage_dir: Parent directory for storing simulation
results.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
Reef3D simulator module of the API.
Bases: Simulator
Class to invoke a generic REEF3D simulation on the API.
Initialize the REEF3D simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
SCHISM module of the API.
Bases: Simulator
Class to invoke a generic SCHISM simulation on the API.
Initialize the SCHISM simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
SNL SWAN module of the API.
Bases: Simulator
Class to invoke a generic SNL SWAN simulation on the API.
Initialize the SNL SWAN simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the this simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
SplisHSPlasH simulator module of the API.
Bases: Simulator
Class to invoke a generic SPlisHSPlasH simulation on the API.
Initialize the SPlisHSplasH simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the SPlisHSPlasH simulation.
PartFluid_
```
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
SWAN module of the API.
Bases: Simulator
Class to invoke a generic SWAN simulation on the API.
Initialize the SWAN simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
SWASH module of the API.
Bases: Simulator
Class to invoke a generic SWASH simulation on the API.
Initialize the SWASH simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
XBeach module of the API.
Bases: Simulator
Class to invoke a generic XBeach simulation on the API.
Initialize the XBeach simulator.
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.
It is also possible to use a custom image, from a public Docker registry.
Class to run commands on an custom image.
Bases: Simulator
Class to run commands on an custom image.
Initialize the ArbitraryImage class. Point to the API method to run a simulation. container_image: The container image to use for the simulation.
Example: container_image=”docker://inductiva/kutu:xbeach_v1.23”
Get the supported computational resources for this simulator.
Get the image URI for this simulator.
Get the name of the simulator.
Run the simulation. input_dir: Path to the directory containing the input files. commands: List of commands to run. on: The computational resource to launch the simulation on. storage_dir: Parent directory for storing simulation
results.
Optional cleanup script or list of shell commands to remove
temporary or unwanted files generated during the simulation.
This helps reduce storage usage by discarding unnecessary
output.
- If a string is provided, it is treated as the path to a shell
script that must be included with the simulation files.
- If a list of strings is provided, each item is treated as an
individual shell command and will be executed sequentially.
All cleanup actions are executed in the simulation’s working
directory, after the simulation finishes.
.. rubric:: Examples
on_finish_cleanup = “my_cleanup.sh”
on_finish_cleanup = [
: “rm -rf temp_dir”,
“rm -f logs/debug.log”
]
Get the version of the simulator.