We’re updating our badges platform. Badge issuance is temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How can I automatically generate a system coupling file (.scp) from an APDL input file (.dat)?

    • toj
      Subscriber

      I'm trying to develop a workflow to automatically run a coupled fluid solid interaction model based on a custom mesh. I'm already able to generate and run stand alone Fluent models (without FSI) and stand alone Mechanical APDL (without FSI) and am now trying to figure out how to join the two together. According to the system coupling documentation, for each participant I need an input file and a coupling setup file (.scp), for both fluent and mechanical. I can generate input files for fluent (.msh/.jou) and MAPDL (.dat), and fluent offers a straight forward way to generate a .scp file (/file/export/system-coupling-definition-file-settings/write-system-coupling-file), so all I need is the .scp for mechanical.

      How can I generate a .scp file for mechanical? From what I can tell, there doesn't seem to be a way to do this through APDL. In the Mechanical GUI, there's a 'Write System Coupling Files' option, since I need this to be a fully automated process, I guess I would need to take advantage of python scripting in workbench/Mechanical, however this seems like a cumbersome approach, particularly since importing my APDL .dat input file to mechanical seems to not preserve the boundary conditions or material properties specified by the .dat file. The only other approach I can think of is writing code to generate a .scp file without the help of any ansys software, but the format specifications for .scp files don't seem clearly documented, suggesting that this isn't a recommended approach.

      Is there a way to generate a .scp file using APDL?

      If not, is there a way to import a .dat file into Mechanical without losing model information (BCs, material props)?

      Is there some other approach to accomplish this?

    • Ashish Khemka
      Forum Moderator


      Please see if the following link helps:

      Generating Participant Files (ansys.com)

      Regards Ashish Khemka
    • toj
      Subscriber
      Thanks for the response, that page mostly just says to refer to the documentation of the specific product being used (in this case mechanical/mechanical apdl), my problem is that it's not clear to me how to generate (in an automated way) the .scp file using MAPDL or Mechanical
Viewing 2 reply threads
  • The topic ‘How can I automatically generate a system coupling file (.scp) from an APDL input file (.dat)?’ is closed to new replies.