Dear Jason,
Thanks for your reply.
When I attempted to use ru-user command in ADAMS in administrator mode, I typed the locations of *.dll and *.acf file, but I got an error.
[code]Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Windows\system32>cd C:\Users\XYY\Desktop\NREL_5MW_Onshore\FAST_1
C:\Users\XYY\Desktop\NREL_5MW_Onshore\FAST_1>D:\software\ADAMS2013\common\mdi.ba
t
+------------------------------------------------------+
| | Adams 2013 | |
| ------------------------------------ |
|Action Selection Code|
|------ --------------|
| |
|Create Adams/Solver with |
| Adams User-DLL cr-user |
| |
|Run Adams/Solver with |
| Standard Adams executable ru-standard|
| User executable ru-user |
| |
|Pre- or Post-process with |
| Adams/View aview |
| Adams/Car acar |
| Adams/Driveline adriveline |
| Adams/PostProcessor appt |
| Adams/Insight ainsight |
| Adams/Flex Toolkit flextk |
| Adams/Durability Toolkit durtk |
| MSC Registry Editor redit |
| MSC Registry Shell Tool rtool |
| Custom Memory Model (uconfg_user) cmm |
+------------------------------------------------------+
Enter your selection code or EXIT: ru-user
Enter name of your Adams/Solver User-DLL, or EXIT:
ADAMS13_forBladedDLL
Enter the name of the Adams command file or EXIT (=none):
NRELOffshrBsline5MW_Onshore_ADAMS
| … … |
| ####*. ####. |
| ###*.
#. MSC Software |
| ###. #. ------------ | |
##. ## |
| ##. ## | |
## ##’ A d a m s C++ S o l v e r |
| #### [Build: 2013.0.0-CL177174] |
| ###. Version: 2013 |
| ####. Patch Version: None | | .###
# |
| #### # | | #### #. | | #####
# http://www.mscsoftware.com |
| .##### |
| #####’ |
| #### |
| |
| ********************************************************************* |
| * * |
| * 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) 2013 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. * |
| * * |
| ********************************************************************* |
********************************************************************* |
* * |
* Local Time: 2016-04-16 14:30:52 * |
* Host Name: XYY-PC * |
* Uname: MS Windows NT * |
* OS Info: 6.1 * |
* User: XYY * |
* Customer ID: 2B887301-D14G178B * |
* Current dir: C:\Users\XYY\Desktop\NREL_5MW_Onshore\FAST_1 * |
* * |
********************************************************************* |
command: FILE/MODEL=NRELOffshrBsline5MW_Onshore_ADAMS.adm, OUTPUT_PREFIX=NRELOf
fshrBsline5MW_Onshore_ADAMS.plt
WARNING: The RESULTS/NOTIRES argument is obsolete and Adams/Solver will ignore
it.
WARNING: Argument : NOTIRES
WARNING: Statement : RESULTS/etc.
WARNING: Line number : 7773
Running NWTC Subroutine Library (v1.07.02a-mlb, 21-May-2013).
Running A2AD (v13.01.00a-bjj, 15-Feb-2012).
| Model Title |
|=============================================================================|
| |
| !ADAMS/View model name: NREL 5.0 MW Baseline Wind Turbine for Use in Offshore
An|
command: INTEGRATOR/GSTIFF, ERROR = 0.001, HMAX = 1.250000E-02, INTERPOLATE =
ON
command: SIMULATE/DYNAMICS, END = 1.250000E-02, DTOUT = 1.250000E-02
Begin Simulation
****** Performing Dynamic Simulation using Gstiff I3 Integrator ******
---- START: WARNING ----
The data set is kinematically determinate. However, a dynamic analysis
has been requested. A kinematic analysis with the SIMULATE/KINEMATICS
command would be more efficient and possibly more accurate for some of
the computed quantities.
As requested, the simulation will continue with a dynamic analysis.
---- END: WARNING ----
The system is modelled with INDEX-3 DAEs.
The integrator is GSTIFF, CORRECTOR = original
Integration error = 1.000000E-03
Detected system force units of kilonewtons (kN).
---- START: ERROR ----
GFOSUB(11010, 1, 1) has been illegally defined. A new functional dependency on
the measure
TDISP(4000,1,1) has been encountered during execution.
---- END: ERROR ----
Error calling INFARY for hub position coordinates.
Aborting A2AD.
C:\Users\XYY\Desktop\NREL_5MW_Onshore\FAST_1>[/code]
Then I changed my way to ADAMS/view following Rannam.Chaaban’s steps in [url]Compile Adams2AD with ADAMS 2010].
Step1. ADAMS/view → existing model(file name: *.adm from FAST)
Step2. Setting → solver → executable(solver library: ADAMS_forBladedDLL.dll, choice: Fortran)
step3. simulation → creat simulation script(ACF File: *.acf from FAST)
step4. simulation → scripted simulation control → run
Then, I got a *.plt file from ADAMS without error. I compared it with *.out from FAST, but these .plt showed rotor can only rotate in 8.532rpm and generate 1.245MW GenPwr in the constant wind speed 11.4m/s.
I tried again in ADAMS/vibration. I defined no input channel or output channel, performed a normal mode analysis in static operating point, then I displayed eigen table. But only one mode showed with zero frequency. Also, I defined one input channel in TowerSec01CM_M, and 20 output channels with marker TowerSec01CM_M~TowerSec20CM_M, then I performed a forced vibration analysis in static operating point. But still only one mode showed with zero frequency.
So I have no idea if I have compiled the DLL,referenced the DLL and manipulated in ADAMS properly.
Besides, a *_Lin.acf was also created in FAST. If I had compiled DLL properly, what can I do with *_Lin.acf?
Yingyu.Xu