×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Volume calculation (Bidirectional)

Volume calculation (Bidirectional)

Volume calculation (Bidirectional)

(OP)
Hello all,

I have designing a Rectangular Tank and have measured the actual volume by using the Split with surface and Measure option in CATIA.

I would now like to calculate the surface position from the bottom of the Tank for a Specified Volume (Opposite case). Any ideas on how to approach this problem.

One method I have found is by using the CATIA Product Engineering Optimizer but unfortunately I do not have any License for this module.

Thank you in Advance

RE: Volume calculation (Bidirectional)

a script might do it. move the surface position, then get volume adjust surface until volume is within tolerance

Eric N.
indocti discant et ament meminisse periti

RE: Volume calculation (Bidirectional)

(OP)
Glad to know that it can be worked out.

I have not used scripts before and trying to learn a little. However I am unable to implement what you have explained.
Could you please explain more.


Thank you

RE: Volume calculation (Bidirectional)

If your Split is done with a Plane and your tank, you can control the position of the plan with the script and get the value of the volume after an update and move up/down a bit according to value and target.

create the geometry, create a parameter that read the value of the volume. then record a macro that change the position of the plane.

That would be a good start. You can search the forum to find how to access the value of a parameter with VBA so you can check the new value after the solid update. Then you make a loop (I would do a While loop) until you get your volume within the tolerance you want. You can go without tolerance but it will be much slower.

Post your part and your code to get more help.

Eric N.
indocti discant et ament meminisse periti

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources