CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Paraview & paraFoam

How to calculate flux across the patch

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

LinkBack Thread Tools Display Modes
Old   October 23, 2008, 16:02
Default Hello. My field variable is
New Member
Evgeniy Redekop
Join Date: Mar 2009
Posts: 5
Rep Power: 9
unit is on a distinguished road

My field variable is a scalar (concentration). I need to calculate the flux (which is -grad(C)) across one of the patches. I could use patchIntegrate utility for integration over the patch but I need gradient field for that.

foamCalc utility can calculate div(U) but only for vector fields. Is there a way to automatically calculate the field of gradients having the field of scalar?

Thank you,
unit 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
How to calculate flux across the patch unit OpenFOAM Post-Processing 0 October 28, 2008 15:40
Help! How to calculate the diffusion flux of a UDS lzw FLUENT 0 June 18, 2008 03:50
Calculate net species/ UDS flux PK57 FLUENT 3 August 4, 2004 09:59
How to calculate the flux? YW FLUENT 2 November 10, 2003 14:45
zero flux bc's on FDM 9-noded patch E Siebrits Main CFD Forum 4 August 15, 2001 00:19

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