|
[Sponsors] |
Error using plot Conversion to double from sym is n |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 24, 2016, 04:53 |
Error using plot Conversion to double from sym is n
|
#1 |
New Member
samhit
Join Date: Apr 2016
Posts: 1
Rep Power: 0 |
hello everyone
Please help me remove the error - Error using plot Conversion to double from sym is not possible. Following is my code : clear all clc p = 1.225 ; % density of air nu = 0.00001983 ; % viscosity of air for xdH = 0.5:0.05:0.8 syms x dH = x/xdH ; Re1 = 4; Re2 = 5 ; Re3 = 6 ; Re4 = 7 ; Re5 = 8 ; Re6 = 9 ; Re7 = 10 ; u1 = Re1*nu/(p*dH) ; u2 = Re2*nu/(p*dH) ; u3 = Re3*nu/(p*dH) ; u4 = Re4*nu/(p*dH) ; u5 = Re5*nu/(p*dH) ; u6 = Re6*nu/(p*dH) ; u7 = Re7*nu/(p*dH) ; end plot(xdH,u1,xdH,u2,xdH,u3,xdH,u4,xdH,u5,xdH,u6,xdH ,u7) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 6 | April 8, 2016 04:34 |
Parallel User Defined Real Gas Model | aeroman | FLUENT | 4 | July 1, 2015 07:09 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |