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

I'm not getting constant flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2017, 10:50
Default I'm not getting constant flux
  #1
Member
 
Phanindra
Join Date: Jan 2013
Posts: 39
Rep Power: 13
phani45 is on a distinguished road
May be it's a simple thing , but ı'm confused and seek your help.

I was trying to solve a 1D diffusion equation:




fvScalarMatrix CEqn

(

fvm::ddt(C)-fvm::laplacian(DT1,C)

);

CEqn.solve();




and when I look at the flux using:




volVectorField C_flux("C_flux",(fvc::reconstruct(CEqn.flux())));




if (runTime.outputTime())

{

C_flux.write();

}




I'm getting non uniform distribution.




I'm getting a Gaussian distribution where as the flux is supposed to be constant. Isn't it?




Can any one help me to understand it
phani45 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
Applying a constant heat flux boundary condition in openfoam mattmirsad OpenFOAM Pre-Processing 7 January 17, 2020 23:08
Temperature BC - Constant heat flux hcl734 OpenFOAM Pre-Processing 2 January 14, 2019 03:26
Constant heat flux with uniform temperature Jake Lee FLUENT 2 April 13, 2011 22:08
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
BC for constant heat flux saidi Main CFD Forum 2 July 17, 1998 15:02


All times are GMT -4. The time now is 06:42.