×
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

Update model by changing single variable.

Update model by changing single variable.

Update model by changing single variable.

(OP)
Hi,
I am making a simple model of a cabin air filter to use in a CFD analysis. It consists of a rectangular pleated section and an outer housing frame (I'm not sure yet whether I will need these as separate parts for CFD).
I want the dimensions in the model to be defined by variable names rather than fixed numbers. I also want to be able to change a single variable and the entire model update, for example: change the width of the pleated section and the frame to reference this and also widen, or change the pleat count and the angle and dimensions of the pleats change.
The variables I want to include:
- pleated section width
- pleated section height
- pleat thickness
- pleat depth
- pleat count
- housing thickness

I realise this is probably a simple problem, but I didn't know where to look in tutorials etc.

RE: Update model by changing single variable.

Simplified explanation:
Use sketcher to get a base configuration then change expression names to something more descriptive. You can then change the values of those expressions as needed. If set up properly, a single expression change can drive the other expressions.
You can probaly achieve something similar without using sketcher with some work, but the control that sketcher provides is much more preferable.

“Know the rules well, so you can break them effectively.”
-Dalai Lama XIV

RE: Update model by changing single variable.

One of our engineers at a former company linked expressions in mulriple assembly files that when a single value was changed in the top level file, a forklift boom would extend and rise. His variable was a percentage of the boom range, so 0 was retracted and down and a 1 was fully extended and full height.

What you want to do is very possible, but takes thought and planning to get it all right.

Use your head. It's the best tool you have. Think first, and then model.


Some of the 'Commandments of Parametric Modeling' are:

Always start with a plan
Before beginning, have a modeling plan or strategy in mind. It should incorporate the design intent of the model. It’s not necessary to have it fully developed before beginning, but having a plan is important as it will undoubtedly change as a project evolves. It can be easy to change the wrong plan into the right plan. It can be very difficult to change no plan into the right plan.

It’s all about design intent
Design for "product design intent" first and foremost. Create sketches to ensure they are constrained the way you want and react to changes as you would expect. A majority of problems have to do with poorly constrained sketches that don't accept change easily.

Create and choose references (parent/child relationships) that drive design intent
This is a fundamental concept that is not always properly understood.
It’s important to understand that every time a reference is chosen, a dependency, or relationship is created.
When creating features, of any kind, always be aware of what is being referenced.

Don't readily accept the default references a CAD tool gives you. Think about the design intent and choose references that are stable and reflect that intent. Automatic references do not always reflect intent and are rarely applicable or appropriate.

Choose references that allow features to "move" with the intent as changes are made.

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

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