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

Object name output modified

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2008, 12:57
Default gradPMean=nm1Coeff*gradPMe
  #1
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 21: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 20:37
ENO without ROE MODIFIED duanyee Main CFD Forum 0 January 27, 2002 10:48


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