Skip to content
Snippets Groups Projects
Commit 2cd4c27a authored by mattijs's avatar mattijs
Browse files

ENH: codedMixed: corrected comment

parent e27d1076
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -33,12 +33,18 @@ Description ...@@ -33,12 +33,18 @@ Description
movingWall movingWall
{ {
type codedMixed; type codedMixed;
value uniform 0;
refValue uniform (0 0 0);
refGradient uniform (0 0 0);
valueFraction uniform 1;
redirectType rampedMixed; // name of generated bc redirectType rampedMixed; // name of generated bc
code code
#{ #{
this->refValue() = min(10, 0.1*this->db().time().value()); this->refValue() =
vector(1, 0, 0)
*min(10, 0.1*this->db().time().value());
this->refGrad() = vector::zero; this->refGrad() = vector::zero;
this->valueFraction() = 1.0; this->valueFraction() = 1.0;
#}; #};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment