EMSO Installation on Ubuntu 10.04 32 bit

This is a short instruc­tion to how to install EMSO on last Ubuntu ver­sion: 10.04 LTS (code­name Lucid Lynx). First of all get the last releases of EMSO and VRTherm here. VRTherm is a ther­mo­dy­namic prop­er­ties pack­age that works as a plu­gin of EMSO. Cur­rently the last ones are emso-beta-linux2-i386-0.10.3.tar.gz and vrtherm-linux2-i386-1.4.2.tar.gz. So that untar them:

user@computer:$ tar xzvf emso-beta-linux2-i386-0.10.3.tar.gz
user@computer:$ tar xzvf vrtherm-linux2-i386-1.4.2.tar.gz

If you want to have EMSO and VRTherm avail­able for all users you should copy them to a com­mon place:

user@computer:$ sudo cp –r emso /usr/local
user@computer:$ sudo cp –r dist/vrtherm /usr/local

And cre­ate sym­bolic links to call EMSO and VRTherm:

user@computer:$ sudo ln –s /usr/local/emso/bin/emso /usr/local/bin/emso
user@computer:$ sudo ln –s /usr/local/vrtherm/vrtherm /usr/local/bin/vrtherm

So you can call them any­where by typ­ing in the terminal:

user@computer:$ emso
user@computer:$ vrtherm

Let’s start get­ting all the pack­ages nec­es­sary from Ubuntu repository.

user@computer:$ sudo apt-get install libumfpack5.4.0 libxml++2.6–2 libxerces-c28 libsuitesparse-metis-3.1.0

And finally the libfox1.4 pack­age must be tak­ing from an old repos­i­tory. It is essen­tial to run EMSO and VRTherm promptly:

user@computer:$ wget –c http://archive.ubuntu.com/ubuntu/pool/universe/f/fox1.4/libfox1.4_1.4.34-1ubuntu1_i386.deb
user@computer:$ sudo dpkg –i libfox1.4_1.4.34-1ubuntu1_i386.deb

Addi­tion­ally to run all sam­ples you should give write per­mis­sion to folder /mso/sample (or copy it to your /home folder). EMSO needs to cre­ate tem­po­rary files to open dia­gram files (.PFD) oth­er­wise EMSO crashes.

user@computer:$ sudo chmod 771 –R /usr/local/emso/mso/sample

Plugins Configuration
To start using EMSO for all appli­ca­tions you must prop­erly con­fig­ure the ther­mo­dy­namic pack­age. Call EMSO and go to “Con­fig” > “Plu­g­ins…” and add a plu­gin calls PP and the path to the file libvrpp.so under /usr/local/vrtherm/libvrpp.so as shown in Fig­ure. Press­ing “Add Plu­gin” and “Ok”, PP will be shown in “Reg­is­tered Plu­g­ins” sec­tion above. EMSO will be ready after restart application.

OpenFOAM

openfoam

The Open­FOAM (Open Field Oper­a­tion and Manip­u­la­tion) is an open source CFD tool­box pro­duced by OpenCFD Ltd from UK. It can sim­u­late any­thing from com­plex fluid flows involv­ing chem­i­cal reac­tions, tur­bu­lence and heat trans­fer, to solid dynam­ics, elec­tro­mag­net­ics and the pric­ing of finan­cial options.

The core tech­nol­ogy of Open­FOAM is a flex­i­ble set of effi­cient C++ mod­ules. These are used to build a wealth of: solvers, to sim­u­late spe­cific prob­lems in engi­neer­ing mechan­ics; util­i­ties, to per­form pre– and post-processing tasks rang­ing from sim­ple data manip­u­la­tions to visu­al­i­sa­tion and mesh pro­cess­ing; libraries, to cre­ate tool­boxes that are acces­si­ble to the solvers/utilities, such as libraries of phys­i­cal models.

An exten­sive set of Open­FOAM solvers has evolved (and is for­ever grow­ing) that are avail­able to users. Below is the list of solvers available:

  • Basic CFD
  • Incom­press­ible, com­press­ible, and mul­ti­phase flows
  • Direct numer­i­cal sim­u­la­tion (DNS) and large eddy sim­u­la­tion (LES)
  • Com­bus­tion
  • Heat trans­fer and buoyancy-driven flows
  • Particle-tracking flows
  • Mol­e­c­u­lar dynam­ics methods
  • Elec­tro­mag­net­ics
  • Stress analy­sis of solids
  • Finance

OpenCFD devel­ops Open­FOAM in the Linux/UNIX oper­at­ing sys­tem because they believe it is the best plat­form for this kind of high end sim­u­la­tion code devel­op­ment and oper­a­tion. How­ever Open­FOAM is open source soft­ware so peo­ple can freely com­pile it on any oper­at­ing sys­tem they choose. Most users are run­ning Linux, so offi­cially it is offered the down­load of bina­ries for selected Linux sys­tems (32/64bits).

If you are a Win­dows user and you have never used Linux before I have a per­sonal tip. You should test Open­FOAM by means of a Linux LiveDVD. A liveDVD is DVD con­tain­ing a bootable com­puter oper­at­ing sys­tem. Specif­i­cally there is a spe­cial dis­tri­b­u­tion of Linux ded­i­cated to com­puter aided engi­neer­ing: CAELinux. So that you can down­load the image file (.ISO) of last release to your sys­tem (32/64bits) and burn it in a DVD. After you must boot your com­puter start­ing from the DVD rather than from the hard drive. CAELinux comes with Open­FOAM installed by default (see Fea­tures sec­tion). Once liveDVD has many video tuto­ri­als to instruc­tion it becomes easy get­ting start OpenFOAM.

Project web­site:

Screen­shots:


paraview

Par­aView interface

Video sam­ple:

  • High Reynolds num­ber flow over cir­cu­lar cylinder

  • Slosh6DOF: OpenFoam-1.5 tutorial

EMSO

EMSO (Envi­ron­ment for Mod­el­ing, Sim­u­la­tion, and Opti­miza­tion) is a graph­i­cal envi­ron­ment where the user can model com­plex processes sim­ply select­ing and con­nect­ing the equip­ment mod­els. ALSOC Project devel­ops and main­tains state-of-the-art this soft­ware and dis­trib­utes it at no cost to the uni­ver­si­ties and part­ner com­pa­nies. The main fea­tures of EMSO follows:

  • Entirely writ­ten in C++
  • A fairly portable code, cur­rently avail­able for Win­dows and Linux but can be com­piled for other plat­forms if desired
  • It is an Equation-Oriented simulator
  • The unique Equation-Oriented sim­u­la­tor with units-of-measurement check­ing for the equations
  • A large set of built-in functions
  • Mod­els are writ­ten in a mod­el­ing lan­guage, the user does not need to be a programmer
  • Mod­els are con­verted to sys­tem of equa­tions in mem­ory, no com­pi­la­tion or link­ing is needed
  • An open library of mod­els, called EML
  • Built-in code for sym­bolic dif­fer­en­ti­a­tion which enables the sys­tem to solve high-index prob­lems
  • Built-in code for auto­matic dif­fer­en­ti­a­tion which makes the sys­tem very effi­cient
  • Can make use of machine opti­mize BLAS routines
  • Cur­rently support:
    • sta­tic simulation
    • dynamic sim­u­la­tion
    • sta­tic optimization
    • para­me­ter esti­ma­tion of sta­tic models
    • para­me­ter esti­ma­tion of dynamic models
  • A graph­i­cal user inter­face which can be used to model devel­op­ment, sim­u­la­tion exe­cu­tion, and results visualizing
  • A sys­tem of plug-ins where the user can embed code writ­ten in C, C++ or FORTRAN into the models
  • A very mod­u­lar sys­tem — all solvers are DLL’s and the user can even write their own new solver

Project web­site:

Ticket sup­port system:

Screen­shots:

EMSO GUI

EMSO new GUI

EMSO new GUI

Related Posts with Thumbnails