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

unsteady (should be) state

parent 18456da5
No related branches found
No related tags found
No related merge requests found
meshex withCode
pitzDaily
...@@ -30,12 +30,12 @@ boundaryField ...@@ -30,12 +30,12 @@ boundaryField
inlet inlet
{ {
type codedFixedValue; type codedFixedValue;
value uniform (0.2 0 0); value uniform (1 0 0);
name parabolicChannelInlet; name parabolicChannelInlet;
code #{ code #{
auto y0 = -0.2; // Reference coordinate, lower wall auto y0 = -0.2; // Reference coordinate, lower wall
auto vmean = 0.2; // Mean velocity // auto vmean = 0.2; // Mean velocity
//auto vmean = 1; // Mean velocity auto vmean = 1; // Mean velocity
Foam::Field<double> y = patch().Cf().component(vector::Y) - y0; Foam::Field<double> y = patch().Cf().component(vector::Y) - y0;
operator == operator ==
......
...@@ -25,8 +25,8 @@ startTime 0; ...@@ -25,8 +25,8 @@ startTime 0;
stopAt endTime; stopAt endTime;
// endTime 20; endTime 20;
endTime 2; // endTime 2;
//deltaT #calc "0.02 / $N"; //deltaT #calc "0.02 / $N";
deltaT 0.02; deltaT 0.02;
......
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