Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
exa
docs
Commits
38d0e262
Commit
38d0e262
authored
4 years ago
by
William D. Fullmer
Browse files
Options
Downloads
Patches
Plain Diff
add note on transient BCs
parent
d61d52a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/inputs/InputsProblemDefinition.rst
+26
-0
26 additions, 0 deletions
docs/source/inputs/InputsProblemDefinition.rst
with
26 additions
and
0 deletions
docs/source/inputs/InputsProblemDefinition.rst
+
26
−
0
View file @
38d0e262
...
...
@@ -649,6 +649,32 @@ Below is an example for specifying boundary conditions for a fluid `myfluid`.
bc.outflow.myfluid.pressure = 0.0
Transient Boundary Conditions
-----------------------------
Velocity, temperature, and pressure boundary conditions may also be specified as a
function of time simply by adding a new column. The time value is entered in the
new first column. We can make the `mi` boundary condition above time-dependent
by replacing:
.. code-block:: none
bc.inflow.myfluid.velocity = 0.0 0.0 0.0 0.0
bc.inflow.myfluid.velocity = 3.0 0.015 0.0 0.0
bc.inflow.myfluid.temperature = 0.0 300
bc.inflow.myfluid.temperature = 2.99 300
bc.inflow.myfluid.temperature = 3.0 500
bc.inflow.myfluid.temperature = 4.0 500
bc.inflow.myfluid.temperature = 4.01 300
In the above example, the inflow velocity is accelerated from zero to its
final value over a period of three seconds. Linear interpolation is used in
between discrete time values and held constant at the last time value. The
temperature sees an abrupt spike from 300 up to 500 at t = 3s and then back
down again after 4s. Note that the timestep is not adjusted to sync with
transient BCs.
Boundary Conditions on Embedded Boundaries
------------------------------------------
...
...
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