FISH Scripting in FLAC

FISH SCRIPTING

  • FISH is a scripting language embedded within FLAC that enables the user to define new variables and functions.
  • These functions may be used to extend FLAC’s usefulness or add user defined features (e.g., servo-control boundaries may be applied to a numerical test, unusual property distributions specified, and parameter studies automated).
  • Built-in text editor and FISH management pane
  • Integer, floating-point, and string data types that are automatically assigned and reassigned based on value
  • Control statements include CASE, IF-ELSE-ENDIF, EXIT, LOOP, LOOP WHILE, SECTION, and COMMAND
  • Built-in error handling
  • Use FISHCALL to access information at any point during the solution cycle (e.g., before any structure calculations or after the motion calculations) for each solution cycle or step
  • Built-in general scalar variables and intrinsic logic, mathematic, text, and parsing functions
  • Access FLAC solution variables, zone, and gridpoint variables (including zone strains and strain rates), and constitutive model variables
  • Access data tables, arrays, ASCII/binary data, I/O routines, data structures, and memory
  • Access socket I/O routines to exchange data between two or more Itasca software (FLAC or PFC2D) running as separate processes
  • FISH line statements can now contain up to 200 characters
  • Includes FISH Library function that can automatically vary the slope angle iteratively to reach a given factor of safety
Software Downloads

Latest News
  • WEBINAR: Solving Geothermal Challenges with XSite Numerical Modeling ITASCA Software and Baker Hughes are hosting a collaborative webinar to demonstrate how combining advanced...
    Read More
  • Itasca has announced the release of FLAC2D v9 Itasca has announced the release of FLAC2D v9, revolutionizing the way we analyze and predict...
    Read More
  • 6th Itasca Symposium on Applied Numerical Modeling The next Itasca Symposium will take place June 3 - 6, 2024, in Toronto, Canada....
    Read More

Upcoming Events
11 Aug
ITASCA Joins Caving 2026 as a Main Sponsor
We are pleased to announce that ITASCA will be participating as a Main Sponsor in Caving 2026, the leading international conference ded... Read More
15 Sept
ITASCA at EUROCK 2026: Advancing Innovation in Rock Engineering
ITASCA is pleased to announce its participation in EUROCK 2026 – ISRM Regional Symposium, taking place from 15–19 September 2026 in Sko... Read More
20 Sept
ITASCA to Participate in CouFrac 2026
ITASCA will be participating in CouFrac 2026, taking place from 20–23 September 2026 in Uppsala, Sweden. The conference brings together... Read More