Welcome, Guest
Username: Password: Remember me

TOPIC: Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal

Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal 7 years 10 months ago #24740

  • alessandro.trap
  • alessandro.trap's Avatar
Hi, I need tu run a model 100 times changing every time just the amont boundary condition. Is it possible to make the changing amont-hydrogaph procedure automatic?
The administrator has disabled public write access.

Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal 7 years 10 months ago #24741

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

This is the kind of use for which the Mascaret API was design.
So the answer is yes and there is many different solution possible.
In the sources of Mascaret you should find/have the dll.
In Scilab, you could use this DLL like it's done for running all the exemples of Mascaret ...

Hope this helps
Christophe
The administrator has disabled public write access.

Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal 7 years 10 months ago #24742

  • alessandro.trap
  • alessandro.trap's Avatar
Thanks, i tried a lot without succeed. I read the help file and i found:
-createMascaret to create 100 models
-importmodelMascaret to import xcas,loi,geo
-initStateNameMASCARET to set initial condition
I don't know how to combine and set all of the functions tu run 100 models and how to program them for loading different boundary condition every time. Can you send me an example please?
Thanks
The administrator has disabled public write access.

Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal 7 years 10 months ago #24743

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
I'm not a specialist of that kind of use.
And I don't have any example of such use...

In fact, the approach mainly depends on what you want to do with the result...
Which kernel are you using?
Steady or unsteady computation?

Regards
Christophe
The administrator has disabled public write access.

Run Mascaret 1D 100 times using loop/cycle in Scilab or Terminal 7 years 10 months ago #24744

  • alessandro.trap
  • alessandro.trap's Avatar
ok, i'm using the unsteady kernel, i have a network of channels and i need to know water levels in a single specific cross section and how the different discharge in a single channel can affect the levels in that point.
The administrator has disabled public write access.
Moderators: JFourdrinoy

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.