|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Oct 2010
Location: Stuttgart
Posts: 35
Rep Power: 16 ![]() |
hi!
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 best regards |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying the laplacian operator | mlawson | OpenFOAM Running, Solving & CFD | 22 | July 16, 2018 04:56 |
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 |