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

A bug in reactingEulerFoam solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2017, 16:02
Default A bug in reactingEulerFoam solver
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 339
Rep Power: 7
openfoammaofnepo is on a distinguished road
Dear All,

I am recently reading some pieces of the reactingEulerFoam solver from OpenFOAM 3.0.1. When I read the file "HeatAndMassTransferPhaseSystem.C", I did not understand the following:

Code:
template<class BasePhaseSystem>
Foam::tmp<Foam::volScalarField>
Foam::HeatAndMassTransferPhaseSystem<BasePhaseSystem>::dmdt
(
    const phasePairKey& key
) const
{
    const scalar dmdtSign(Pair<word>::compare(dmdt_.find(key).key(), key));

    return dmdtSign**dmdt_[key];
}
Should the highlighted line be "dmdtSign*dmdt_[key];"? Thank you so much!
openfoammaofnepo is offline   Reply With Quote

Reply

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
Population Balance Modeling (PBM) - Ansys Fluent chittipo FLUENT 80 June 17, 2017 12:30
fluent divergence for no reason sufjanst FLUENT 2 March 23, 2016 17:08
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM Running, Solving & CFD 17 December 3, 2014 20:41
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 20:40.