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

Latest News
  • Itasca at Balkanmine 2025! Itasca is pleased to announce its participation in the Balkanmine 2025 Conference. Our experts Lauriane...
    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
14 Oct
Getting Started with 3DEC
Live Online Introductory Training Course. October 14-15, 2025... Read More
2 Dec
NEW TRAINING: Meshing in ITASCA Software
This introductory training course offers a comprehensive foundation in geotechnical modeling, enabling participants to identify various... Read More