cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Variable not defined error even when it actually defined

SOLVED
Highlighted
Newbie

Variable not defined error even when it actually defined

Hello, cimmunity,

my problem with PTC MathCad 3.0 is illustrated in attached picture.

While I get correct answer and units of k (permeability) in square meters, but I can't convert answer into Darsy (Darcy). Where can be problem and what is the solution? Thanks a lot.

variable-undefined.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Variable not defined error even when it actually defined

I believe the problem is that "mD" is not a standard unit. Did you define it as a unit elsewhere in your sheet? If not, select the mD definition as you show and under Labels, select Unit.

I hope this helps.

Norm

View solution in original post

3 REPLIES 3

Re: Variable not defined error even when it actually defined

I believe the problem is that "mD" is not a standard unit. Did you define it as a unit elsewhere in your sheet? If not, select the mD definition as you show and under Labels, select Unit.

I hope this helps.

Norm

View solution in original post

Re: Variable not defined error even when it actually defined

To define a new unit, select the name of the unit where you define it (select "Darsy" in the first line of your screenshot), and then select "label", then "unit". Do the same with the second line and "mD", and your problem will be solved.

Re: Variable not defined error even when it actually defined

Thanks, pals. I Marked as correct answer the first one, but actually both of them helps.