Skip to main content
1-Visitor
May 5, 2015 11:49 AM UTC
Solved

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

nas0kAnswer
1-Visitor
May 5, 2015 12:22 PM UTC

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

3 replies

nas0k1-VisitorAnswer
1-Visitor
May 5, 2015 12:22 PM UTC

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

Translate
1-Visitor
May 5, 2015 12:44 PM UTC

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.

Translate
dtulaba1-VisitorAuthor
1-Visitor
May 5, 2015 1:17 PM UTC

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

Translate