Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chaofan Chen
ogs
Commits
cfc00511
Commit
cfc00511
authored
1 year ago
by
Feliks Kiszkurno
Browse files
Options
Downloads
Patches
Plain Diff
Correct some errors in equations and text in User Guide
parent
ecf764f7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/content/docs/userguide/blocks/media.md
+5
-3
5 additions, 3 deletions
web/content/docs/userguide/blocks/media.md
web/content/docs/userguide/blocks/time_loop.md
+17
-15
17 additions, 15 deletions
web/content/docs/userguide/blocks/time_loop.md
with
22 additions
and
18 deletions
web/content/docs/userguide/blocks/media.md
+
5
−
3
View file @
cfc00511
...
...
@@ -224,17 +224,19 @@ A more realistic example can be found in benchmark [A2](https://gitlab.opengeosy
</property>
```
The slope value provided in the
`<independent_variable> </independent_variable>`
block for temperature is the thermal expansion coefficient.
The definition of density provided in the snippet above can be expressed by following equations:
$$
\r
ho
(T=298.15, p=4e6
)=1200
\r
ho
_{0} (T_{0}=298.15, p_{0}=4
\c
dot 10^{6}
)=1200
$$
$$
\r
ho (T)=(-6
\c
dot 10^{-4})
\c
dot
T+1200
\r
ho (T)=(
(
-6
\c
dot 10^{-4})
\c
dot
(T-T_{0}) + 1)
\r
ho_{0}
$$
$$
\r
ho (p)=(0.5
\c
dot 10^{9})
\c
dot
p+1200
\r
ho (p)=(
(
0.5
\c
dot 10^{9})
\c
dot
(p-p_{0}) + 1)
\r
ho_{0}
$$
### Function
...
...
This diff is collapsed.
Click to expand it.
web/content/docs/userguide/blocks/time_loop.md
+
17
−
15
View file @
cfc00511
...
...
@@ -140,35 +140,37 @@ especially for the solution of non-linear problems.
### Error tolerances
Error tolerances will be applied to the solution vector
Error tolerances will be applied to the solution vector
.
There are two ways of defining error tolerances:
-
relative
`<reltosl> </reltols>`
-
absolute
`<abstols> </abstols>`
-
relative
-
absolute
Both of them can be defined as single value, that will be applied to all process variables, or with multiple ones applied to
them individually.
them individually ("per component" criteria).
In those two cases appropriate tags have to be used:
-
for relative tolerances:
`<reltol> </reltol>`
-
for absolute tolerances:
`<abstol> </abstol>`
and for "per component":
-
for relative tolerances:
`<reltols> </reltols>`
-
for absolute tolerances:
`<abstols> </abstols>`
<!-- TODO: Describe the definition of the relative tolerance. -->
If tolerances per process variable are provided, the order of values defined inside of the tags
`<abstols> </abstols>`
and
`<relto
s
l> </reltols>`
has to match order of process variables defined in
[
processes
](
/docs/userguide/blocks/processes/
)
.
`<reltol
s
> </reltols>`
has to match order of process variables defined in
[
processes
](
/docs/userguide/blocks/processes/
)
.
If process variable is directional, an XYZ order is followed.
For example for a 3D THM problem with directional displacement $
\m
athbf{u}$ the following order has to be used: $T$, $p$, $u_x$
, $u_y$, $u_z$.
The order of $T$, $p$, and $u$ is prescribed by the THM process.
Depending on process and simulation setup, the number of variables in the solution vector can vary.
In the following example, there are four tolerances given in
`abstol`
: one for $T$, one for $p$, and two for $
\m
athbf{u}$ ($u_x$
and $u_y$ as this is a 2D problem):
```
xml
<process_variables>
<displacement>
displacement
</displacement>
<pressure>
pressure
</pressure>
<temperature>
temperature
</temperature>
</process_variables>
```
For example in a 2D THM simulation, there will four tolerances given in
`abstol`
: one for $T$, one for $p$, and two for $
\m
athbf{u}$ ($u_x$
and $u_y$).
The same order is preserved for
[
output variables
](
/docs/userguide/blocks/time_loop/#output
)
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment