@@ -2,7 +2,7 @@ Simulation Setup
2
2
================
3
3
4
4
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
6
6
``Spec `` (short for specification), an object that contains the following data:
7
7
8
8
* Name of the simulation
@@ -28,7 +28,7 @@ A ``SimulationSpec`` object is initialized with this data, then passed to the
28
28
simulation = simulation_api.create_simulation(project_id, simulation_spec)
29
29
30
30
31
- Now we need to dwelve deeper into the physics ``model ``.
31
+ Now we need to delve deeper into the physics ``model ``.
32
32
33
33
Model
34
34
-----
@@ -40,7 +40,7 @@ For instance, the following data is captured in the model:
40
40
* Materials models
41
41
* Initial conditions
42
42
* Boundary conditions
43
- * Interactions between multiple components
43
+ * Interactions between multiple components (contacts)
44
44
* Numerical methods and parameters
45
45
* Simulated time and time stepping
46
46
* 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
49
49
part by part. Also, not all of this data is required to setup a simulation, and
50
50
the specifics will depend on the particular physics of the model.
51
51
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 :
54
54
55
55
.. code-block :: python
56
56
@@ -101,13 +101,13 @@ each one of these objects has its own parameters to finely tune the behavior of
101
101
simulation. If you need to look at the detail of each object and its parameters, please
102
102
check the SDK documentation:
103
103
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 >`_
105
105
106
106
We will focus, as an example, on the most basic setup for a fluid simulation: the material
107
107
model and the boundary conditions.
108
108
109
- Material Model
110
- ~~~~~~~~~~~~~~
109
+ Material
110
+ ~~~~~~~~
111
111
112
112
Being a single fluid phase simulation, there is only one material that we need to setup.
113
113
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:
226
226
Generating SDK Code
227
227
-------------------
228
228
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
230
230
simulation spec from scratch. Some of the reasons would be:
231
231
232
232
* 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:
273
273
f.write(str (sdk_code))
274
274
275
275
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