Skip to content

Commit 3eb38b2

Browse files
committed
Improve simulation page
1 parent 1309262 commit 3eb38b2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tutorial/simulation_setup.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Simulation Setup
22
================
33

44
Having the geometry model already available in the project, the next step to
5-
setup a simulation is to specify the physcis model. This is performed via a simulation
5+
setup a simulation is to specify the physics model. This is performed via a simulation
66
``Spec`` (short for specification), an object that contains the following data:
77

88
* Name of the simulation
@@ -28,7 +28,7 @@ A ``SimulationSpec`` object is initialized with this data, then passed to the
2828
simulation = simulation_api.create_simulation(project_id, simulation_spec)
2929
3030
31-
Now we need to dwelve deeper into the physics ``model``.
31+
Now we need to delve deeper into the physics ``model``.
3232

3333
Model
3434
-----
@@ -40,7 +40,7 @@ For instance, the following data is captured in the model:
4040
* Materials models
4141
* Initial conditions
4242
* Boundary conditions
43-
* Interactions between multiple components
43+
* Interactions between multiple components (contacts)
4444
* Numerical methods and parameters
4545
* Simulated time and time stepping
4646
* Computed output fields and derived data
@@ -49,8 +49,8 @@ Notice that this is a rather long amount of data, and as such it will be broken
4949
part by part. Also, not all of this data is required to setup a simulation, and
5050
the specifics will depend on the particular physics of the model.
5151

52-
For the sake of this tutorial, we will cover an ``Incompressible`` model as
53-
an exampl:
52+
For the sake of this tutorial, we will cover the ``Incompressible`` model as
53+
an example:
5454

5555
.. code-block:: python
5656
@@ -101,13 +101,13 @@ each one of these objects has its own parameters to finely tune the behavior of
101101
simulation. If you need to look at the detail of each object and its parameters, please
102102
check the SDK documentation:
103103

104-
`Python SDK Documentation <https://simscalegmbh.github.io/simscale-python-sdk/simscale_sdk.api.html>`
104+
`Python SDK Documentation <https://simscalegmbh.github.io/simscale-python-sdk/simscale_sdk.api.html>`_
105105

106106
We will focus, as an example, on the most basic setup for a fluid simulation: the material
107107
model and the boundary conditions.
108108

109-
Material Model
110-
~~~~~~~~~~~~~~
109+
Material
110+
~~~~~~~~
111111

112112
Being a single fluid phase simulation, there is only one material that we need to setup.
113113
Following we will enter the properties for water at ambient temperature, and assign it
@@ -226,7 +226,7 @@ The boundary conditions are setup with the following code:
226226
Generating SDK Code
227227
-------------------
228228

229-
It might be difficult to navigate the documentation and reference pages to create a
229+
It might be a little difficult to navigate the documentation and reference pages to create a
230230
simulation spec from scratch. Some of the reasons would be:
231231

232232
* How to find out the internal entity name for my part or face?
@@ -273,4 +273,4 @@ Now, to generate the SDK code for this simulation model, we can do as follows:
273273
f.write(str(sdk_code))
274274
275275
276-
Then all of the simulation spec will be found in the ``sim_code.py`` file.
276+
Then all of the code to define the simulation model object will be found in the ``sim_code.py`` file.

0 commit comments

Comments
 (0)