Skip to content
Snippets Groups Projects
Commit ce3df0d4 authored by Timo Koch's avatar Timo Koch
Browse files

[gravity] Gravity lives in world coordinates!

parent 5c26b4d4
No related branches found
No related tags found
5 merge requests!600[WIP][components][plotproperties] Add a source file to plot properties of some components,!501Freeflow/turbulenceproperties,!492Resolve "Inconsistent `index()` method of the different `SubControlVolume` classes",!362Cleanup/2pnc 2pncmin models,!271[bugifx] Fix/gravity pmproblem
......@@ -78,7 +78,7 @@ public:
spatialParams_ = std::make_shared<SpatialParams>(gridView);
if (GET_PARAM_FROM_GROUP(TypeTag, bool, Problem, EnableGravity))
gravity_[dim-1] = -9.81;
gravity_[dimWorld-1] = -9.81;
}
/*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment