Skip to main content
1-Visitor
May 5, 2015
Solved

Variable not defined error even when it actually defined

  • May 5, 2015
  • 3 replies
  • 3555 views

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

Best answer by nas0k

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

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

1-Visitor
May 5, 2015

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.

dtulaba1-VisitorAuthor
1-Visitor
May 5, 2015

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