Skip to content
Snippets Groups Projects
Commit 164ded3c authored by felix's avatar felix
Browse files

move mean velocity setting into scale file

but it is ignored so far
parent f1c38972
No related branches found
No related tags found
No related merge requests found
N 1;
N 6;
ubar 20;
......@@ -18,13 +18,16 @@ FoamFile
// Note that you must adjust y0 with respect to the origin of
// you coordinate system.
#include ../scale
parabolicChannelInlet
{
code
#{
auto y0 = -0.2; // Reference coodinate, lower wall
auto vmean = 0.2; // Mean velocity
//auto vmean = 1; // Mean velocity
// auto vmean = 0.2; // Mean velocity with Re_d = 20
// auto vmean = 1; // Mean velocity with Re_d = 100
auto vmean = $ubar;
Foam::Field<double> y = patch().Cf().component(vector::Y) - y0;
operator ==
......
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