Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia Law Editor Syntax Problem

Status
Not open for further replies.

jagandeep

Automotive
May 27, 2013
82
IN
Hello Friends,
I want to create curve defined by following formula.

Y = Rc-sqrt(Rc*Rc-X*X*L*L)+K*(X*L-Rb)*(X*L-Rb)*(X*L-Rb)

Y is evaluated w.r.t. X

Here Y and X are formal Parameters of type Real
Rc,L,K,Rb are Parameters of type Length (in mm)

I get bloody old bullshit error "Units are not homogeneous" when I put same into Law Editor

I think I have to thoroughly understand the unit conversion rules. Can anyone enlighten me on same ?

Thanks
 
Replies continue below

Recommended for you

if X and Y are real and L is mm you can not write Y=X+L

but Y= X + L/1mm is ok

also you can not write SQR ( mm^2 - mm^4)


What you can do is create L1 (no unit) = L / 1mm and replace L with L1 in your formaula...it might be easier than puting /1mm everywhere :)

Eric N.
indocti discant et ament meminisse periti
 
Thanks for reply itsmyjob.
if I convert X and Y into Length Type, will it solve my problem ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top