|
[Sponsors] |
TimeVaryingUniformFixedValue boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2007, 14:01 |
Correct me if I am wrong. But
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
Correct me if I am wrong. But the timeVaryingUniformFixedValue for vector (such as veloctiy) on a boundary can only specify the magnitude. The direction of the uniform vector is acturally the surface normal:
template<> void timeVaryingUniformFixedValueFvPatchField<vector>:: updateCoeffs() { if (this->updated()) { return; } checkTable(); operator== ( -interpolateXY ( this->db().time().value(), timeDataPtr_().x(), timeDataPtr_().y() )*patch().nf() ); fixedValueFvPatchField<vector>::updateCoeffs(); } All these boils down to the design of graph class. It can only accept x-y relationship where x and y are both scalars. Can't y be vector? That way we can specify a graph using data file like ( t0 (v1 v2 v3) t1 (. . .) ... tN (v1N, v2N, v3N) ) Interpolation of vector between t(i) and t(i+1) can be component wise. If graph is designed like this, timeVaryingUniformFixedValueFvPatchField<vector> can specify uniform velocity in any direction.
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
October 12, 2007, 13:19 |
timeVaryingUniformFixedValue b
|
#2 |
New Member
Kanyanta Valentine
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 11
Rep Power: 17 |
timeVaryingUniformFixedValue boundary condition does not seem to work with sonicLiquidFoam. Any idea why this is the case?
Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingUniformFixedValue | holger_marschall | OpenFOAM Running, Solving & CFD | 4 | August 10, 2013 14:47 |
TimeVaryingUniformFixedValue BC in foam 15 | nzy102 | OpenFOAM Running, Solving & CFD | 5 | August 19, 2008 08:08 |
TimeVaryingUniformFixedValue with sonicLiquidFoam Bugs amp Fixes | chnrdu | OpenFOAM Bugs | 1 | May 21, 2008 09:52 |
TimeVaryingUniformFixedValue does not work as a pressureInlet with sonicLiquidFoam | nishant_hull | OpenFOAM Running, Solving & CFD | 5 | May 21, 2008 08:54 |
Boundary condition of the third kind or Danckwertz boundary condition | plage | OpenFOAM Running, Solving & CFD | 4 | October 3, 2006 12:21 |