• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Adams
  3. Do you have support documents/example files on ADAMS co...

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 6
  • Subscribers 3
  • Views 10
  • Members are here 0
More Content

Do you have support documents/example files on ADAMS co-simulation with any tool using .dll files?

harish.sonawane
harish.sonawane over 7 years ago
I am trying to perform a co-simulation with Dymola (a 1 D simulation tool) using .dll files but not able to find supporting literature or support document on steps to be followed. Any support would be appreciated.
  • Sign in to reply
  • Cancel
  • Sas
    0 Sas over 7 years ago
    Hi,
     
    Whichever software you're exporting from, you may just as well be able to use FMI. Dymola has pretty good support for this, using the free Dassault FMU kit for imports, I believe, and when exporting, using standard on-board capabilities (or additional separately licensed capabilities like code-gen)
     
    Similarly, you can also export ADAMS models as FMU. I know this isn't what you asked, but it's worth considering if you have any control over the process.
     
    Could FMI be an option? What kind of setup is it?
     
    Kind Regards
    ir. Sas Harrison
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • harish.sonawane
    0 harish.sonawane over 7 years ago
    Hi Mr. Harrison,
     
    Thanks for your kind response.
     
    I am new to co-simulations and here I am trying to provide a force input for plunger actuation. This is simple mechanical setup of parking gear lock actuation where force input from Dymola is supposed to actuate plunger movement.
     
    I've Dymola output .dll file which has to be used for co-simulation.
     
    Warm Regards,
    Harish Sonawane
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Sas
    0 Sas over 7 years ago
    Hi,
     
    Does this mean that using Dymola's capability to write an FMU is not an option for you? is there a specific reason why it has to be the .dll ?
     
    /Sas
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • harish.sonawane
    0 harish.sonawane over 7 years ago
    Hi Mr. Harrison,
     
    FMU is not an option currently since it will take time to get those files from user. As the .dll files are already available, I am trying to utilise the same.
     
    Warm Regards,
    Harish Sonawane
     
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Sas
    0 Sas over 7 years ago
    That's unfortunate - Dymola & ADAMS are both designed to use this for cosimulation, via the ADAMS/Controls plugin, where there is an interface designed to ease the use of FMU.
     
    The usual context I have seen DLL used directly is when defining say a force (see search term SFOSUB) via a user subroutine. You can point ADAMS/View to a library (before the :: ) and a subroutine within it (after the ::) and feed inputs to the code.
    (missing image)
    You can also just write it into the solver code, for which several statements support the use of the subroutine option, which might look like the following:
     
    GFORCE/1, I=123100, JFLOAT = 4, RM = 3, FUNCTION =USER(900,1,100), ROUTINE = myTire::myGFOsub
     
    The library "myTire" alluded to, would be the DLL (Dynamically Linked Library) and should be located in the working directory. If I remember correctly, though, there's much more to this than meets the eye, and it might not be possible to make just any DLL do what you want. I will have to allow you to refer to others for that information.
     
    Consider looking at SIMCOMPANION as a springboard:
     
    simcompanion.mscsoftware.com/.../index
     
    simcompanion.mscsoftware.com/.../index
     
     
     
    /Sas
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information