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

Change wallDist to return volVectorField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2009, 12:50
Default Change wallDist to return volVectorField
  #1
Member
 
David Segersson
Join Date: Mar 2009
Posts: 39
Rep Power: 17
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?

Regards
David
segersson is offline   Reply With Quote

Old   October 8, 2009, 07:14
Default
  #2
New Member
 
Roman
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

Reply

Tags
walldist patch distance


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 Off
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 09: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 06:12
Boundary Condition for Return Air Keng FLUENT 1 January 17, 2003 05:38


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