CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

calculate outbound diffusive flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2020, 05:16
Default calculate outbound diffusive flux
  #1
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Hi;

I need help to calculate outbound diffusive flux. I think my problem is half solving/running and half post-processing.

I am doing simulations using a slightly modified scalarTransportFoam solver, shortly it solve the advection-diffusion equation for a transported passive scalar.

the passive scalar is everywhere >0 and on some boundary walls I am using the boundary condition:
Quote:
type fixedValue;
value uniform 0;
physically there is an outbound diffusive flux near walls and I would like to calculate it. Is there an automatic way to do it on Openfoam or paraview?

Mathematically is the 0 value that flow inside from wall instead of >0 value near wall that flow out? I don't know if it is clear what I mean.

Otherwise I thought to calculate it manually: probe the value in the cell near wall and calculate the flux using flick law in matlab, do you think it is a good estimation?
Is there a way to probe value for a surface instead of a point?
I tried putting in probe declaration
Quote:
Surface
(
"boundary wall name"
)
but it did not work, i can successfully only probe value in points

or if you have another way to calculate the outbound diffusive flux I am open to suggestion.

Thanks for the help
Andrea23 is offline   Reply With Quote

Old   March 9, 2023, 13:59
Default
  #2
New Member
 
Greg Nordin
Join Date: Feb 2022
Posts: 9
Rep Power: 4
GregNordin is on a distinguished road
Were you able to figure out how to calculate diffusive flux through a surface? I need to do something similar.
GregNordin is offline   Reply With Quote

Reply


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
Calculate flux for a number of boundary patches mwmalkawi OpenFOAM Running, Solving & CFD 2 February 23, 2020 01:22
How to calculate mean turbulent flux in openfoam simonsg OpenFOAM Post-Processing 1 September 28, 2016 12:34
Can I get OpenFOAM to Calculate Energy Flux for me? k13113y OpenFOAM Post-Processing 9 September 13, 2016 12:15
Calculate Heat Flux (Radiative/Conductive/Convective) m_f OpenFOAM Post-Processing 0 September 3, 2012 04:16
UDF to calculate average heat flux dynamics Fluent UDF and Scheme Programming 0 July 21, 2012 18:54


All times are GMT -4. The time now is 01:43.