ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 08-03-2008
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default Models or samples of Fluid Network

Has anyone worked on the dynamic movement of fluid around a model?

I'm looking to identify what is involved in building a complex network of pipes and tanks - moving and diverting fluid between tanks via switches and valves. Initially, it's as simple as building up a series of tanks, pipes, splitters and blenders, and using the properties to select how much liquid goes where. However the model will need to be able to add/mix/redivert fluid on the fly and according to rules and levels.

Suggestions, models or even concept snippets would be awesome and really appreciated.

Thanks

Kenny
  #2  
Old 08-13-2008
AJ Bobo's Avatar
AJ Bobo AJ Bobo is offline
Flexsim Senior Developer
 
Join Date: Jul 2007
Posts: 108
Downloads: 8
Uploads: 0
Thanks: 23
Thanked 89 Times in 41 Posts
Rep Power: 221
AJ Bobo is a jewel in the roughAJ Bobo is a jewel in the roughAJ Bobo is a jewel in the roughAJ Bobo is a jewel in the rough
Default

Kenny,

Flexsim includes a set of modeling objects that are known as the "fluid objects". These include objects to represent tanks, pipes, mixers, blenders, etc. In the Library Icon Grid window there is a drop-down list that has the names of the libraries that are currently loaded by Flexsim. One of them is called "Fluid Objects". The objects you are looking for are in this library. These objects have a large amount of functionality, but using them is different than using the standard, discrete objects. There is a tutorial in the User's Guide to help you get started with them. I recommend working through that tutorial and then asking any additional questions that you have here on the Forum. Thanks.
  #3  
Old 08-19-2008
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default

Thanks AJ - I've already built some basic fluid networks and will practice some more but it's how to manipulate flow on the fly that I ultimately want to understand.

I.e. - moving fluid around a network using valves that can be open and closed in real time, as the model is running - using some kind of switching capability.

Eg - 3 tanks all interconnected with the ability to move liquid between any tanks.

I'll get back to the forum with specific questions but if you could suggest a method of diverting fluid on the fly then i'd appreciate it.

Regards

Kenny
  #4  
Old 08-19-2008
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

Kenny,

Have you tried using closeouput(), openoutput(), closeinput(), and openinput()? With those commands and the various triggers on the fluid objects, you should be able to control what you want to just fine.

Last edited by Phil BoBo; 08-19-2008 at 09:29 AM. Reason: typo
  #5  
Old 08-19-2008
AJ Bobo's Avatar
AJ Bobo AJ Bobo is offline
Flexsim Senior Developer
 
Join Date: Jul 2007
Posts: 108
Downloads: 8
Uploads: 0
Thanks: 23
Thanked 89 Times in 41 Posts
Rep Power: 221
AJ Bobo is a jewel in the roughAJ Bobo is a jewel in the roughAJ Bobo is a jewel in the roughAJ Bobo is a jewel in the rough
Default

Kenny,

Phil's answer is correct but there is more available to you. On most of the Fluid Objects you'll find triggers called "Adjust Input Rate" and/or "Adjust Output Rate". These fields execute at the beginning of every tick, before any material moves between the objects. They are designed to be used to change the rate and scale factor values for the fluid objects. This is one way to change how material flows. There is pre-written option called "Open One Input" (or "Open One Output") that can serve as an example of how to use these fields.

Also, with the Fluid Objects you can use some port commands that are not allowed with standard objects. These commands are openip(), closeip(), openop() and closeop(). These commands let you open and close individual ports, instead of blocking all ports like closeinput() and closeoutput() do. Using these commands with the discete objects causes a variety of modeling errors, but with the fluid objects they are generally safe.
The Following User Says Thank You to AJ Bobo For This Useful Post:
Jörg Vogel (08-21-2008)
  #6  
Old 08-19-2008
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default

Thanks Guys - appreciated.

Kenny


Thread Thread Starter Forum Replies Last Post
Fluid model: David Chan Q&A 1 07-26-2008 07:45 PM
Fluid model Liu Bin Q&A 1 07-18-2008 02:27 AM
New Flexsim Display Models Cliff King Q&A 3 03-06-2008 08:36 PM
Expertfit cannot find network key - Flexsim Network License Kris Geisberger Q&A 0 02-05-2008 05:10 PM
Fluid Blender tsconcept Q&A 4 09-13-2007 12:39 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.