|December 6, 2010, 11:54||
Join Date: Oct 2010
Posts: 35Rep Power: 8
i would like to modify the equation of the filter width: "cubeRootVolDelta" to create a new but similar filter.
the equation of the cubeRootVolDelta (schumann's filter it is called in literature i think) is : delta = (delta_x1*delta_x2*delta_x3)^(1/3)
what i need is a filter with the equation: delta = [ (delta_x1^2 + delta_x2^2 + delta_x3^2) / 3 ]^(1/2)
it is called the bardina filter (bardina et al, 1980).
i looked into "cubeRootVolDelta.C" and found this (sorry, i'm new in openfoam AND c++ ...):
delta_.internalField() = deltaCoeff_*pow(mesh().V(), 1.0/3.0);
it should not be that difficult to modify, once i know what mesh().V() means.
but apart from this: what else do i have to vary when my new equation is set? what about the .dep and .H files?
i could use some help here.....
thanks a lot in advance
|Thread||Thread Starter||Forum||Replies||Last Post|
|Modifying the laplacian operator||mlawson||OpenFOAM Running, Solving & CFD||11||September 7, 2011 12:30|
|Programmig own limiter function, modifying r function in limitedLinear.H||idrama||OpenFOAM||2||October 14, 2010 04:20|
|Compilation problem after modifying a solver.||PetSul||OpenFOAM Running, Solving & CFD||2||October 1, 2009 17:28|
|Modifying a mesh starting from case file||Ale||FLUENT||2||September 16, 2008 12:10|
|Modifying an arc in GAMBIT?||Jake||FLUENT||0||April 1, 2008 16:23|