|
[Sponsors] |
Error in scaling volScalarField from (0,1) to (-1,1) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2013, 01:34 |
Error in scaling volScalarField from (0,1) to (-1,1)
|
#1 |
Member
Hrushi
Join Date: Jan 2013
Posts: 58
Rep Power: 13 |
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. phi=2*c-1 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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 09:21 |
Global scaling - grid independency testing | Jenny | CFX | 6 | December 10, 2013 03:52 |
Can 'shock waves' occur in viscous fluid flows? | diaw | Main CFD Forum | 104 | February 16, 2006 05:44 |