CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

modifying cubeRootVolDelta.C

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 6, 2010, 11:54
Default modifying cubeRootVolDelta.C
  #1
Member
 
Join Date: Oct 2010
Location: Stuttgart
Posts: 35
Rep Power: 6
grandgo is on a distinguished road
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
grandgo is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 12:12.