CFD Online Logo CFD Online URL
Home > Forums > CFX

Overwrite velocities

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

LinkBack Thread Tools Display Modes
Old   March 9, 2011, 04:20
Default Overwrite velocities
Posts: n/a

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?

  Reply With Quote

Old   March 9, 2011, 19:49
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,808
Rep Power: 107
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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.
ghorrocks is offline   Reply With Quote


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
Artificial high velocities at the interface using interFoam Arnoldinho OpenFOAM Running, Solving & CFD 36 April 14, 2016 12:01
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

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