CFD Online Logo CFD Online URL
Home > Forums > Software User 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: 39
Rep Power: 8
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
[openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 520 June 13, 2017 08:41
Turbulence length scale and integral length scale rizhang CFX 2 April 22, 2016 07:22
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
advection time scale Tanveer ahmad Rubani CFX 1 February 24, 2009 17:16

All times are GMT -4. The time now is 14:45.