Compile Adams2AD with ADAMS 2010

Dear Rannam,

This bug was recently reported to us. In MODULE SysSubs of NWTC Subroutine Library source file SysIVF.f90, you must change CU from 6 to 7 for A2AD to function properly. We have corrected this in the version of the NWTC Subroutine Library that we are currently updating. You will have to recompile the ADAMS.dll after this small change.

I hope that works!

Best regards,

Dear Jason,

The problem is solved now, I’ve checked the forum after my last post looking for similar problem, and I found something here [url]OC3 blade pitch control problem & its errors].
I’ve changed INTEGER :: CU=6 to 7 (line 47 in SysIVF.f90), and rebuild Adams.dll.
When I run FAST with Test11.fst (without any change). fast works fine.
However, running Test11 with ADAMS solver needed more work to adjust the time step, as the using DT=0.005 (Default in Test11.fst) will generate errors in ADAMS/Solver and simulation will stop due to some matrix singularity errors. I’ve set the time step DT=0.001, in order to make a full simulation without any problems (I hope so).
I’ve checked the *.out file for the message you mentioned regarding the pitch controller, and I could find it.

Anyway. here are the new output of RotSpeed, Blade pitch 1 angle, and blade root moments from FAST and ADAMS.


IT is clear that ADAMS and FAST show some similarities in the RotSpeed, and Blade pitch angle. Which sounds to be good.

However, I’ve made some more check regarding the RootMzb1. If I changed the “Time to begin tabular output” TStart to 6 seconds (default is 10), and I get some strange results. (In the following figure, DT=0.0005, same results were obtained for DT=0.001)

I’m not sure if the results are from ADAMS, because of the more detailed model, or a kind of mathematical calculation error.

I’ve very happy to have ADAMS working after spending too much time to solve these problem… :slight_smile:
Thanks you Jason and Bonnie for all the support, and Thanks to all the others who worked to achieve such nice tools.

Best Regards
Rannam Chaaban.

Dear Rannam,

I’m glad your problem is now resolved!

The pitch controller message should be written to the screen when the ADAMS.dll is run from the command prompt; the message will not show up in the ADAMS *.out file because only ADAMS-generated messags are written there.

Hopefully the “spikes” in the ADAMS prediction of RootMzb1 can be eliminated with proper adjustment of the ADAMS integrator settings. I suggest you contact MSC technical support if you can’t solve that one yourself; they should know far more about how to solve these sorts of problems than I would.

Best regards,

Hi,

I’ve the same problems as described in previous post:

1- run "ADAMS - Commnad" 2- choose "ru-user" 3- User DLL: "<path>\ADAMS08r1.dll" 4- Adams command file: "<path>\Test11_ADAMS.acf" 5- The command window closes quickly, and I could not see any error message on it. Also, I've check my files, I couldn't find a file which might contain the error messages

If I try to show what are the problems. I open the cmd (the normal, not the ADAMS), I call my .acf file , and in the window appears:

[code]Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Lucia\Escritorio\PROYECTO\FAST\CertTest>test11_ADAMS.a
cf


  •                                                               *
    
  •                  MSC.Software Corporation                     *
    
  •                                                               *
    
  •                         A d a m s                             *
    
  •                                                               *
    
  •      Automatic Dynamic Analysis of Mechanical Systems         *
    
  •                                                               *
    

  •                                                               *
    
  •                     LEGAL INFORMATION                         *
    
  •                                                               *
    
  • Warning: This computer program is protected by copyright law *
  • and international treaties. Unauthorized reproduction or *
  • distribution of this computer program, or any portion of it, *
  • may result in severe civil and criminal penalties. *
  •                                                               *
    
  • Copyright (C) 2008 MSC.Software Corporation and its licensors. *
  •                    All rights reserved.                       *
    
  •                                                               *
    
  • This computer program may contain certain third-party software *
  • that is protected by copyright and licensed from MSC.Software *
  • suppliers. Portions of this software are owned by UGS Corp. *
  • (C) Copyright 1997. All Rights Reserved. Portions, *
  • (C) 1998 Spacetec IMC Corporation (“Spacetec”). *
  •                                                               *
    
  • The MSC.Software logo, MSC, MSC Adams, MD Adams, Adams and *
  • Adams/ are trademarks or registered trademarks of MSC.Software *
  • Corporation or its subsidiaries in the United States and/or *
  • other countries. FLEXlm is a registered trademark of *
  • Macrovision Corporation. Parasolid is a registered trademark of *
  • UGS Corp. All other trademarks are the property of their *
  • respective owners. *
  •                                                               *
    

  •                                                               *
    
  •                  A d a m s / S o l v e r                      *
    
  •                                                               *
    
  •  2013-05-22 09:35:33              Version MD R3               *
    
  •                                                               *
    
  •  Customer Entitlement ID:         56943D12-BC5G45FC           *
    
  •                                                               *
    

Enter ADAMS model file name or Carriage Return or ? (or STOP):

certtest\test11_ADAMS

---- ERROR ----
File certtest\test11_ADAMS.adm does not exist.

Enter Command:

certtest\test11_ADAMS

ERROR: This is not an Adams Command Language keyword.
ERROR: Statement : No statement found
ERROR: Error line text : ‘[[certtest]]\test11_ADAMS’
ERROR: Error token text : ‘CERTTEST’
ERROR: Error token type : identifier

Enter Command:

INTEGRATOR/GSTIFF, ERROR = 0.001, HMAX = 5.000000E-03, INTERPOLATE = ON

Enter Command:

SIMULATE/DYNAMICS, END = 5.000000E-03, DTOUT = 5.000000E-02

---- ERROR ----
No model is present in memory at this instant.
Read in an Adams/Solver data set first.

Enter Command:

DEACTIVATE/MOTION, ID = 3020

---- FATAL PROGRAM FAULT ----
Unknown program phase 0.
MSPACE called by routine ACTDEA allocating space for id list.
Contact MSC.Software Adams support.

  Adams/Solver execution terminated by subprogram MSPACE

CPU time used = 0.0 seconds

C:\Documents and Settings\Lucia\Escritorio\PROYECTO\FAST\CertTest>[/code]
I’m not sure what is the problem. I execute correctly Test11 with Fast. Could you help me, please?

Hi, Lucia.

Your error message says that certtest\test11_ADAMS.adm doesn’t exist. I don’t think Adams allows you to enter the path in the model name.

When you run FAST as a preprocessor for Adams, you should run it in the directory with the FAST input file so that the path names don’t get written in the Adams data set generated by FAST. In the future, we need to modify the FAST2ADAMS preprocessor so that it doesn’t include the path names.

Hope that helps.