CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Error in scaling volScalarField from (0,1) to (-1,1)

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

LinkBack Thread Tools Display Modes
Old   August 30, 2013, 01:34
Default Error in scaling volScalarField from (0,1) to (-1,1)
Join Date: Jan 2013
Posts: 58
Rep Power: 6
hrushi.397 is on a distinguished road
Sponsored Links
Hi all,

I have a volScalarField c which has value between 0 and 1. I wish to convert it to a new field phi which has limits between -1 and 1. I am trying the following conversion.


But I get a field where my value of phi exceeds -1 and goes upto -50. I have checked c field and its value does not exceed 0.5. What is going wrong here?

Thanks and regards,

hrushi.397 is offline   Reply With Quote
Sponsored Links


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 520 June 13, 2017 08:41
Global scaling - grid independency testing Jenny CFX 6 December 10, 2013 04:52
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 06:44

Sponsored Links

All times are GMT -4. The time now is 10:57.