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

Regarding constant flux calculation in 1D problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2017, 11:54
Default Regarding constant flux calculation in 1D problem
  #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
calculation restart problem OF1606 ziemowitzima OpenFOAM Running, Solving & CFD 2 December 7, 2016 04:57
Constant Heat Flux Boundary Condition NightWing FLUENT 0 February 26, 2016 06:43
Nusselt number 4.36 validation in a tube in constant heat flux situation QustFelix FLUENT 6 June 18, 2015 23:09
Calculation of Mass Flux in a Mass Transport Problem h_fathi OpenFOAM 0 May 31, 2015 09:05
Heat Flux Calculation under REPORTS Alberto Schroth FLUENT 0 May 16, 2000 09:19


All times are GMT -4. The time now is 21:32.