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

Problem with fvDOM radiation, results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2017, 12:10
Question Problem with fvDOM radiation, results
  #1
Member
 
Farshad
Join Date: Sep 2010
Posts: 36
Rep Power: 16
farshadexp is on a distinguished road
Hi;
I'm trying to model pool fire via fireFoam solver, everything is OK... but there is a problem with showing emitted radiation results.... I can access to G (incident radiation), but I can not access to Qem results... can any one help me please?!
farshadexp is offline   Reply With Quote

Old   November 25, 2017, 11:26
Default
  #2
Member
 
Farshad
Join Date: Sep 2010
Posts: 36
Rep Power: 16
farshadexp is on a distinguished road
I found the answer. The solution is to do below changes in fvDOM.C and recompile it:

$WM_PROJECT_DIR/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C

Change qem_ to AUTO_WRITE such as:

qem_
(
IOobject
(
"qem" + name(rayId),
mesh_.time().timeName(),
mesh_,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
mesh_,
dimensionedScalar("qem", dimMass/pow3(dimTime), 0.0)
)

Special thanks to: https://holzmann-cfd.de/
farshadexp is offline   Reply With Quote

Old   May 15, 2018, 22:11
Default
  #3
Member
 
chengan.wang
Join Date: Jan 2016
Location: china
Posts: 47
Rep Power: 10
wangchengan2003 is on a distinguished road
Send a message via Skype™ to wangchengan2003
Dear farshadexp
I am very interested on this topic. I could access to G (incident radiation) in the result folders without problem. Now I want to use incident radiation 'G' in my solver, which is a private data in 'fvDOM.H'.
In the file 'fvDOM.H', it writes

Quote:
/*---------------------------------------------------------------------------*\
Class fvDOM Declaration
\*---------------------------------------------------------------------------*/

class fvDOM
:
public radiationModel
{
// Private data


//- Incident radiation [W/m2]
volScalarField G_;
and also:
Quote:
//- Const access to incident radiation field
inline const volScalarField& G() const;
In my own solver, I want use G to calculate T in 'TEqn.H', such as
Quote:
T=pow(G/(4*sigma),0.25);
Unfortunately, I have no idea. If you could give me some help?

Best regards,

Chengan
wangchengan2003 is offline   Reply With Quote

Reply

Tags
openfoam, radiation fvdom


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
Simple radiation validation problem Logan Page OpenFOAM Running, Solving & CFD 20 June 15, 2022 04:20
Problem: Very long "write" time (~2h-3h) for results and transient results Shawn_A CFX 16 April 12, 2016 21:49
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation volleyHC CFX 5 April 3, 2016 06:41
wall emissivity for radiation problem: emitter is also receiving when it shouldn't Young FLUENT 14 January 7, 2016 07:08
Problem with radiation heat transfer TMorgado FLUENT 0 September 20, 2013 15:10


All times are GMT -4. The time now is 16:22.