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

Object name output modified

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 6, 2008, 11:57
Default gradPMean=nm1Coeff*gradPMe
  #1
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
Quote:
gradPMean=nm1Coeff*gradPMean+nCoeff*gradP;
I suspect you just want to multiply the vaules:

gradPMean.value() = nm1Coeff * gradPMean.value() + nCoeff * gradP;
olesen 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
Modified twoPhaseEulerFoam alberto OpenFOAM Running, Solving & CFD 19 March 14, 2012 07:10
How to determine the type of an object in the object registry mwild OpenFOAM Running, Solving & CFD 8 June 8, 2010 20:58
Modified twoPhaseEulerFoam alberto OpenFOAM Running, Solving & CFD 1 November 7, 2006 08:09
can "output control " output Nu in expression? prayskyer CFX 3 July 7, 2006 19:37
ENO without ROE MODIFIED duanyee Main CFD Forum 0 January 27, 2002 10:48


All times are GMT -4. The time now is 00:31.