CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Change wallDist to return volVectorField

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

LinkBack Thread Tools Display Modes
Old   March 29, 2009, 11:50
Default Change wallDist to return volVectorField
David Segersson
Join Date: Mar 2009
Posts: 39
Rep Power: 10
segersson is on a distinguished road
I need to calculate the distance from a patch in horisontal and vertical direction separately for all cells. I have tried to use functionality from wallDist.H. This works well except that it returns the distance as a volScalarField. Can anyone give me a suggestion on how to modify walldist.H (or the stuff it uses - patchWave etc. ), to return the distance as a volVectorField?

segersson is offline   Reply With Quote

Old   October 8, 2009, 06:14
New Member
Join Date: Jun 2009
Posts: 1
Rep Power: 0
verby is on a distinguished road
I think that class wallDistReflection could help you.
verby is offline   Reply With Quote


walldist patch distance

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
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
no enthalpy change across the momentum source Atit Koonsrisuk CFX 2 December 19, 2005 03:33
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
Boundary Condition for Return Air Keng FLUENT 1 January 17, 2003 05:38

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