CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

how to scale volScalarField

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

LinkBack Thread Tools Display Modes
Old   November 8, 2012, 17:39
Default how to scale volScalarField
Join Date: Jun 2011
Posts: 35
Rep Power: 6
mikeP is on a distinguished road
I am trying to scale volScalarField with the following code:

nut = cmptMultiply(nut,scale);
          nut.boundaryField()[patchi][facei] = cmptMultiply(nut.boundaryField()[patchi][facei],scale);
It doesn't seem to work right at the boundaries, is there a problem with it?
mikeP is offline   Reply With Quote


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
libOpenSMOKE Tobi OpenFOAM Programming & Development 506 September 28, 2015 06:07
How to scale a volScalarField by cell volume? tgvosk OpenFOAM Running, Solving & CFD 2 July 9, 2012 10:25
How to find a good time scale strategy? StefanG CFX 19 June 8, 2012 08:41
Turbulence length scale and integral length scale rizhang CFX 1 September 10, 2009 06:38
advection time scale Tanveer ahmad Rubani CFX 1 February 24, 2009 17:16

All times are GMT -4. The time now is 03:02.