Message Boards Message Boards

0
|
4015 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

How to model a Check Valve ?

Posted 11 years ago

I am trying to model simple hydraulic components such as a check valve. How to make the flow runs in one direction ? Will a simple if statement as the one shown below work or do you recommend another approach ?

m_flow = port_b.m_flow - port_a.m_flow; // defined in the interface

m_flow=if port_a.m_flow < 0 then 0 else port_a.m_flow;
POSTED BY: Mohamed Mahmoud
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract