|March 9, 2011, 04:20||
I'm trying to add a damping term to the velocities in a given region.
Do someone know if it is possible to overwrite the defined velocity variables (u,v,w) used in the solver?
I would like to dissipate the velocity gradually by a damping function.
In CEL it was not possible to do something like u = if(x>=xstart,u*damping,u),
since u is already a defined variable.
Maybe a user routine can do this?
|March 9, 2011, 19:49||
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,282Rep Power: 88
If you want to add some damping try a porous region with a small resistance. Alternately you can define a source term and do what ever you like - either damp it a little or specify the velocities or anything else you can dream up.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Artificial high velocities at the interface using interFoam||Arnoldinho||OpenFOAM Running, Solving & CFD||34||November 6, 2015 07:30|
|InterFoam Artificially High Velocities||andersson.j||OpenFOAM Running, Solving & CFD||0||February 8, 2011 11:43|
|Time mean velocities in moving meshes||Pfalcon||FLUENT||0||August 14, 2009 13:51|
|Derived velocities from loss coefficients ??||jakjak||CFX||1||December 20, 2007 15:38|
|contravariant velocities||John||Main CFD Forum||4||April 8, 2002 10:36|