-
-
August 7, 2018 at 9:14 am
marius_aachen
SubscriberHello ANSYS community,
I'm working with APDL macros to run a linear harmonic analysis using mode-superposition in ANSYS 18. The harmonic analysis works well for the first defined load vector, however when I try to restart the modal analysis to define another load vector I get the following error message:
"Element order vector is not found in the database. The previous modal solution is probably not saved into the db file or wrong database is used."
I attached the relevant extracts of the APDL code I'm using. The error message occurs in the main file in the line with the solve command of the restarted modal analysis. If you need further macros please let me know.
I'm grateful for any idea you may have.
Kind regards,
Marius Hensgens
-
August 7, 2018 at 12:00 pm
Sandeep Medikonda
Ansys EmployeeMarius,
Can you use a Blockquote/Preformatted styling and paste the relevant APDL code?
~Sandeep
-
August 7, 2018 at 12:39 pm
marius_aachen
Subscriber/solu
allsel
antype,modal
modopt,modeExtrMethod,maxNumModes,modStartFreq,modStopFreq
resvec,resvKey
outres,erase
outres,all,none
outres,nsol,all
outpr,erase
outpr,all,none
save
/output,'modal','txt'
solve
/output,'%jobname%_2',txt,,append
finish
save,modRes
parsav,all
*do,exInd,1,exNum,1
*do,sliceInd,1,numSlices,1
parsav,all
resume,modRes
parres
modeOrder = exMat(1,exInd)
radTan = exMat(2,exInd)
cosSin = exMat(3,exInd)
ATOFORCIT !Macro creating load vector
/solu
antype,modal,restart
allsel,all
solve
finish
minMode = 1
maxMode = numModes
modeInd = '%minMode% through %maxMode%'
/solu
allsel
antype,harmic
hropt,msup,maxMode,minMode,mCout
harfrq,harStartFreq,harStopFreq
hrout,reImKy,clust,mCont
lvscale,1 !! Scale Down Any Loads/acel Because They Are Already Applied From LVSCALE
kbc,1
nsubst,nsbstp
dmprat,dampRatio
resvec,resvKey
outres,erase
outres,all,none !! SVAR: State variables; LOCI: Integration point locations
outres,nsol,all
outpr,erase
outpr,all,none
save
solve
finish
MCFCTRL.MAC !! Modal coordinates store
*enddo
*enddo
I should additionally mention that this code works with ANSYS version 14.5. However, this code should run with ANSYS 18 and at the moment this is not the case.
-
August 7, 2018 at 2:16 pm
Sandeep Medikonda
Ansys EmployeeI can't tell of error errors in there...maybe someone else can. It is possible that the restart solution overwrote the files needed for the modal restart.
Can you go through Example 5.8 in the help that describes a modal analysis restart and see if you are missing something?
~Sandeep
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Saving & sharing of Working project files in .wbpz format
- An Unknown error occurred during solution. Check the Solver Output…..
- Understanding Force Convergence Solution Output
- Solver Pivot Warning in Beam Element Model
- Colors and Mesh Display
- How to calculate the residual stress on a coating by Vickers indentation?
- whether have the difference between using contact and target bodies
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
-
2524
-
2064
-
1279
-
1096
-
456
© 2023 Copyright ANSYS, Inc. All rights reserved.