[Classic] Non Continous Loadseps

DG
David GALINDO - Pharea
Mon, Sep 2, 2024 8:16 AM

Hi Martin,

By default, LCFILE points to loadcase files present in the working directory (where you load Ansys) and named after the jobname.

Are both conditions met ?

If not, you can move and/or rename the files accordingly, or complete the 2nd LCFILE argument to specify the file name, including its path if in another directory.

Cordialement,

David Galindo
Chief Executive
PHAREA

-----Message d'origine-----
De : Martin Mazurowski via Xansys xansys-temp@list.xansys.org
Envoyé : samedi 31 août 2024 08:56
À : XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc : Martin Mazurowski martin.mazurowski@drehmoment.de
Objet : [Xansys] Re: [Classic] Non Continous Loadseps

Hi David,

I've made a simple dummy modelt o test it. It works in Batch. I have file.l01, file.l02... etc files.
I Loaded the databaseinto classic, and tried

lcfile,1

command in /post but i Get error message "Invalid file name on LCFILE command file.l01."
What could be th eissue here?
Thank you very much for your support!

Mit freundlichen Grüßen,

M. Eng. Martin Mazurowski

Hauptstrasse 9
D-86637 Wertingen

FON: 08272 9952-29
MOBIL: +49 157 581 577 83
FAX: 08272 9952-99
Mail: martin.mazurowski@drehmoment.de
Web: http://www.drehmoment.de/

Geschäftsführer:

B.Eng. Fabian Helmschrott,
M.Eng. Martin Mazurowski.

Handelsregister Augsburg HRB 21452

Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
 Please consider your environmental responsibility before printing this e-mail.

-----Ursprüngliche Nachricht-----
Von: David GALINDO - Pharea d.galindo@pharea.com
Gesendet: Freitag, 30. August 2024 14:00
An: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Martin Mazurowski martin.mazurowski@drehmoment.de
Betreff: RE: [Classic] Non Continous Loadseps

Martin,

It's very understandable to be confused with Ansys loadcases when not familiar, it's unintuitive and vocabular is not helping (loadstep vs. loadcase, each one considered as a load or a result)

My way you'll get 30 loadcase files, each one containing the results of the corresponding loading.

I assume you have 30 load step files (obtained from LSWRITE) you want to solve using LSSOLVE.

I propose to DO loop on the 30 cases using LSREAD in each loop as shown hereafter.
Note that exiting and rentering SOLU is the key to solve from initial state instead of going on from previous solve (which is equivalent if linear).

fini
*do,i,1,30
/solu
lsread,i
solve
fini
/post1
lcwrite,i
fini
*enddo

This way, instead of getting the 30 RST files you are looking for, you get 30 files jobname.L01 to jobname.L30, each one containing the results of the corresponding load step file from jobname.S01 to jobname.S30.

At this stage, if you don't exit, each loadcase result is post-processable in POST1 by pointing to it with LCASE,i.

Note that you still have a RST file containing one result set corresponding to the last solved case (accessible by SET,1).

After clearing or reopening Ansys, before post-processing a loadcase result file, you have to "reload" it with LCFILE,i.

Top of the cake, if calculations are linear, loadcase results are scalable and combinable (add, sub, ...), which means, if you had for example one LS file which loads are the sum of two other LS files, you don't need to solve this one LS as you can obtained the same result (far quicker) by adding the loadcase results coming from those two other LS files. But that's another story...

PS : I guess methods suggested by other contributors should be similar by looping this type of sequence : SOLVE, exit SOLU, copy RST, renter SOLU, change loads and go on -> obtain 30 RST files. That's up to you.

Cordialement,

David Galindo
Chief Executive
PHAREA

-----Message d'origine-----
De : Martin Mazurowski via Xansys xansys-temp@list.xansys.org Envoyé : vendredi 30 août 2024 11:58 À : XANSYS Mailing List Home xansys-temp@list.xansys.org Cc : Martin Mazurowski martin.mazurowski@drehmoment.de Objet : [Xansys] Re: [Classic] Non Continous Loadseps

Hi David,

I'm not sure if I fully understand it, probably because of LCWRITE, which I'm not very familiar with.

"Creates a load case by writing the results data in the database to a load case file. The database remains unchanged by this operation. A pointer is also established to the written set of results on the load case file. This pointer (LCNO) can then be used on the LCASE or LCOPER commands to read the load case data into the database. By default, only summable results data (such as displacements, stresses, elastic strains) and constant results data (such as volume) are written to the load case file unless requested (LCSUM command). Non-summable results data (such as plastic strains, strain energy), boundary conditions, and nodal loads are not written to the load case file. The load case file may be named by default or by a user name"

In the file created with the LCWRITE command, I save the results of the load case that I calculated? However, it's not a .rst file, which is where I got a little bit lost. This approach also wouldn't work with LSSOLVE, as far as I understand. I have about 30 load cases, and manually processing each one wouldn't be very time efficient.

I could probably write 30 .cdb files and start them from a batch file, but I'm not sure if there's an easier way to do this.

Do I understand correctly that in ANSYS, each subsequent load step is calculated based on the previous one? Is it possible to set it up so that each load step starts from the beginning?

For example, in OptiStruct, you have to specify from which stress/displacement state you continue your current load case.

I think I have a basic understanding problem, which is somewhat funny (or sad) because I've been working with ANSYS for 13 years, and I never really thought about it. FML...

Thanks for any help.

Mit freundlichen Grüßen,

M. Eng. Martin Mazurowski

Hauptstrasse 9
D-86637 Wertingen

FON: 08272 9952-29
MOBIL: +49 157 581 577 83
FAX: 08272 9952-99
Mail: martin.mazurowski@drehmoment.de
Web: http://www.drehmoment.de/

Geschäftsführer:

B.Eng. Fabian Helmschrott,
M.Eng. Martin Mazurowski.

Handelsregister Augsburg HRB 21452

Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
 Please consider your environmental responsibility before printing this e-mail.

-----Ursprüngliche Nachricht-----
Von: David GALINDO - Pharea d.galindo@pharea.com
Gesendet: Freitag, 30. August 2024 11:12
An: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Martin Mazurowski martin.mazurowski@drehmoment.de
Betreff: RE: [Classic] Non Continous Loadseps

Hi Martin,

I would create loadcase files instead of result files, which answers your first need (having several result sets, each obtained from nominal state).

Roughly, how to :

1 - solve 1st set of loads
2 - go to POST1
3 - read result and create a loadcase file (LCWRITE,...)
4 - go back to SOLU, apply 2nd set of loads and solve
5 - go to POST1, read result and create 2nd loadcase file
6 - etc....

I could be more precise if needed.

Cordialement,

David Galindo
Chief Executive
PHAREA

-----Message d'origine-----
De : Martin Mazurowski via Xansys xansys-temp@list.xansys.org Envoyé : vendredi 30 août 2024 09:27 À : XANSYS Mailing List Home xansys-temp@list.xansys.org Cc : Martin Mazurowski martin.mazurowski@drehmoment.de Objet : [Xansys] Re: [Classic] Non Continous Loadseps

Hi Matthew,

thank you for your response.
My case is even more trivial than yours.
I want to create a new RST file after each Loadcase, and I'm not sure how to do it properly.

Mit freundlichen Grüßen,

M. Eng. Martin Mazurowski

Hauptstrasse 9
D-86637 Wertingen

FON: 08272 9952-29
MOBIL: +49 157 581 577 83
FAX: 08272 9952-99
Mail: martin.mazurowski@drehmoment.de
Web: http://www.drehmoment.de/

Geschäftsführer:

B.Eng. Fabian Helmschrott,
M.Eng. Martin Mazurowski.

Handelsregister Augsburg HRB 21452

Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
 Please consider your environmental responsibility before printing this e-mail.

-----Ursprüngliche Nachricht-----
Von: Matthew Ridzon, PE Matt@prime-engineer.com
Gesendet: Montag, 26. August 2024 12:41
An: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Martin Mazurowski martin.mazurowski@drehmoment.de
Betreff: RE: [Classic] Non Continous Loadseps

I cannot completely understand your question and what you are trying to do.  However, I had to do something that might have been similar to what you are trying to do.  The customer stated that the model shall have bolt pretension.  And afterward, they asked me to analyze a few dozen load cases in APDL, all originating from the aforementioned pretension case.  So I solved the pretension case and saved it in the working directory.  Then I wrote a macro with a DO loop to work through the load cases.  At the beginning of the DO loop were /COPY commands to find the pretension RST, RDB, LDHI, and R001 files and copy them with new names for the specific load case I was solving.  Then I proceeded like normal to add loads and solve.  The beginning of the DO loop looked something like the following.  Note that this loop was preceded with a macro full of parameters, to include the "filenames" definition.

*DO,i,1,NUMCASES,1
/OUTPUT,%FILENAMES(1,i)%,out
/FILNAME,Pretens
parsav,all,parm2,par
resume,Pretens,db
allsel,all
ANTYPE,,REST,1
FINISH
parres,change,parm2,par
/filname,%FILENAMES(1,i)%
/copy,Pretens,rst,,%FILENAMES(1,i)%,rst
/copy,Pretens,rdb,,%FILENAMES(1,i)%,rdb
/copy,Pretens,ldhi,,%FILENAMES(1,i)%,ldhi
/copy,Pretens,r001,,%FILENAMES(1,i)%,r001

.
.
.
.
add loads and BCs
.
.
.
.

    solve
    FINISH
    SAVE
    /delete,%FILENAMES(1,i)%,rdb
    /delete,%FILENAMES(1,i)%,ldhi
    /delete,%FILENAMES(1,i)%,r001
    /delete,%FILENAMES(1,i)%,r002
    /CLEAR
    parres,change,parm2,par

*ENDDO

/OUTPUT,TERM
/DELETE,PARM1,par
/DELETE,PARM2,par

The above approach creates a separate set of result files for every load case.  If you want them all saved on the same RST as separate time steps, you will probably have to use /AUX3 commands, specifically the RAPPND command.
I hope this helps.

-Matt

-----Original Message-----
From: Martin Mazurowski via Xansys xansys-temp@list.xansys.org
Sent: Saturday, August 24, 2024 1:45 AM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Martin Mazurowski martin.mazurowski@drehmoment.de
Subject: [Xansys] [Classic] Non Continous Loadseps

Dear All,

I probably have a simple question, but reading the manual didn't help me solve my problem.

I have a model with 10 different boundary conditions (loads), and what I would like to achieve is that each load step is calculated separately, starting from the nominal state.

As an example: if sliding contact occurs in Load Step 1, I want Load Step 2 to be calculated from the nominal geometry without considering any deformation.

(I hope I managed to describe what I want to achieve clearly.)

LSSOLVE calculates one load step after another, so it won't work for me in this case.

It might also be important to mention that the .cdb file is started in batch mode.

Thank you in advance for your help, and I wish you a nice weekend!

Best regards,

Mit freundlichen Grüßen,

M. Eng. Martin Mazurowski

[cid:image001.png@01DAF5F8.FC274EE0]
Hauptstrasse 9
D-86637 Wertingen

FON: 08272 9952-29
MOBIL: +49 157 581 577 83
FAX: 08272 9952-99
Mail: martin.mazurowski@drehmoment.demailto:martin.mazurowski@drehmoment.de
Web: http://www.drehmoment.de/http://www.drehmoment.de/

Geschäftsführer:

B.Eng. Fabian Helmschrott,
M.Eng. Martin Mazurowski.

Handelsregister Augsburg HRB 21452

Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
P Please consider your environmental responsibility before printing this e-mail.


Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list _______________________________________________
Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list _______________________________________________
Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day.

Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list

Hi Martin, By default, LCFILE points to loadcase files present in the working directory (where you load Ansys) and named after the jobname. Are both conditions met ? If not, you can move and/or rename the files accordingly, or complete the 2nd LCFILE argument to specify the file name, including its path if in another directory. Cordialement, David Galindo Chief Executive PHAREA -----Message d'origine----- De : Martin Mazurowski via Xansys <xansys-temp@list.xansys.org> Envoyé : samedi 31 août 2024 08:56 À : XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc : Martin Mazurowski <martin.mazurowski@drehmoment.de> Objet : [Xansys] Re: [Classic] Non Continous Loadseps Hi David, I've made a simple dummy modelt o test it. It works in Batch. I have file.l01, file.l02... etc files. I Loaded the databaseinto classic, and tried lcfile,1 command in /post but i Get error message "Invalid file name on LCFILE command file.l01." What could be th eissue here? Thank you very much for your support! Mit freundlichen Grüßen, M. Eng. Martin Mazurowski Hauptstrasse 9 D-86637 Wertingen FON: 08272 9952-29 MOBIL: +49 157 581 577 83 FAX: 08272 9952-99 Mail: martin.mazurowski@drehmoment.de Web: http://www.drehmoment.de/ Geschäftsführer: B.Eng. Fabian Helmschrott, M.Eng. Martin Mazurowski. Handelsregister Augsburg HRB 21452 Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.  Please consider your environmental responsibility before printing this e-mail. -----Ursprüngliche Nachricht----- Von: David GALINDO - Pharea <d.galindo@pharea.com> Gesendet: Freitag, 30. August 2024 14:00 An: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Martin Mazurowski <martin.mazurowski@drehmoment.de> Betreff: RE: [Classic] Non Continous Loadseps Martin, It's very understandable to be confused with Ansys loadcases when not familiar, it's unintuitive and vocabular is not helping (loadstep vs. loadcase, each one considered as a load or a result) My way you'll get 30 loadcase files, each one containing the results of the corresponding loading. I assume you have 30 load step files (obtained from LSWRITE) you want to solve using LSSOLVE. I propose to DO loop on the 30 cases using LSREAD in each loop as shown hereafter. Note that exiting and rentering SOLU is the key to solve from initial state instead of going on from previous solve (which is equivalent if linear). fini *do,i,1,30 /solu lsread,i solve fini /post1 lcwrite,i fini *enddo This way, instead of getting the 30 RST files you are looking for, you get 30 files jobname.L01 to jobname.L30, each one containing the results of the corresponding load step file from jobname.S01 to jobname.S30. At this stage, if you don't exit, each loadcase result is post-processable in POST1 by pointing to it with LCASE,i. Note that you still have a RST file containing one result set corresponding to the last solved case (accessible by SET,1). After clearing or reopening Ansys, before post-processing a loadcase result file, you have to "reload" it with LCFILE,i. Top of the cake, if calculations are linear, loadcase results are scalable and combinable (add, sub, ...), which means, if you had for example one LS file which loads are the sum of two other LS files, you don't need to solve this one LS as you can obtained the same result (far quicker) by adding the loadcase results coming from those two other LS files. But that's another story... PS : I guess methods suggested by other contributors should be similar by looping this type of sequence : SOLVE, exit SOLU, copy RST, renter SOLU, change loads and go on -> obtain 30 RST files. That's up to you. Cordialement, David Galindo Chief Executive PHAREA -----Message d'origine----- De : Martin Mazurowski via Xansys <xansys-temp@list.xansys.org> Envoyé : vendredi 30 août 2024 11:58 À : XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc : Martin Mazurowski <martin.mazurowski@drehmoment.de> Objet : [Xansys] Re: [Classic] Non Continous Loadseps Hi David, I'm not sure if I fully understand it, probably because of LCWRITE, which I'm not very familiar with. "Creates a load case by writing the results data in the database to a load case file. The database remains unchanged by this operation. A pointer is also established to the written set of results on the load case file. This pointer (LCNO) can then be used on the LCASE or LCOPER commands to read the load case data into the database. By default, only summable results data (such as displacements, stresses, elastic strains) and constant results data (such as volume) are written to the load case file unless requested (LCSUM command). Non-summable results data (such as plastic strains, strain energy), boundary conditions, and nodal loads are not written to the load case file. The load case file may be named by default or by a user name" In the file created with the LCWRITE command, I save the results of the load case that I calculated? However, it's not a .rst file, which is where I got a little bit lost. This approach also wouldn't work with LSSOLVE, as far as I understand. I have about 30 load cases, and manually processing each one wouldn't be very time efficient. I could probably write 30 .cdb files and start them from a batch file, but I'm not sure if there's an easier way to do this. Do I understand correctly that in ANSYS, each subsequent load step is calculated based on the previous one? Is it possible to set it up so that each load step starts from the beginning? For example, in OptiStruct, you have to specify from which stress/displacement state you continue your current load case. I think I have a basic understanding problem, which is somewhat funny (or sad) because I've been working with ANSYS for 13 years, and I never really thought about it. FML... Thanks for any help. Mit freundlichen Grüßen, M. Eng. Martin Mazurowski Hauptstrasse 9 D-86637 Wertingen FON: 08272 9952-29 MOBIL: +49 157 581 577 83 FAX: 08272 9952-99 Mail: martin.mazurowski@drehmoment.de Web: http://www.drehmoment.de/ Geschäftsführer: B.Eng. Fabian Helmschrott, M.Eng. Martin Mazurowski. Handelsregister Augsburg HRB 21452 Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.  Please consider your environmental responsibility before printing this e-mail. -----Ursprüngliche Nachricht----- Von: David GALINDO - Pharea <d.galindo@pharea.com> Gesendet: Freitag, 30. August 2024 11:12 An: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Martin Mazurowski <martin.mazurowski@drehmoment.de> Betreff: RE: [Classic] Non Continous Loadseps Hi Martin, I would create loadcase files instead of result files, which answers your first need (having several result sets, each obtained from nominal state). Roughly, how to : 1 - solve 1st set of loads 2 - go to POST1 3 - read result and create a loadcase file (LCWRITE,...) 4 - go back to SOLU, apply 2nd set of loads and solve 5 - go to POST1, read result and create 2nd loadcase file 6 - etc.... I could be more precise if needed. Cordialement, David Galindo Chief Executive PHAREA -----Message d'origine----- De : Martin Mazurowski via Xansys <xansys-temp@list.xansys.org> Envoyé : vendredi 30 août 2024 09:27 À : XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc : Martin Mazurowski <martin.mazurowski@drehmoment.de> Objet : [Xansys] Re: [Classic] Non Continous Loadseps Hi Matthew, thank you for your response. My case is even more trivial than yours. I want to create a new RST file after each Loadcase, and I'm not sure how to do it properly. Mit freundlichen Grüßen, M. Eng. Martin Mazurowski Hauptstrasse 9 D-86637 Wertingen FON: 08272 9952-29 MOBIL: +49 157 581 577 83 FAX: 08272 9952-99 Mail: martin.mazurowski@drehmoment.de Web: http://www.drehmoment.de/ Geschäftsführer: B.Eng. Fabian Helmschrott, M.Eng. Martin Mazurowski. Handelsregister Augsburg HRB 21452 Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.  Please consider your environmental responsibility before printing this e-mail. -----Ursprüngliche Nachricht----- Von: Matthew Ridzon, PE <Matt@prime-engineer.com> Gesendet: Montag, 26. August 2024 12:41 An: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Martin Mazurowski <martin.mazurowski@drehmoment.de> Betreff: RE: [Classic] Non Continous Loadseps I cannot completely understand your question and what you are trying to do. However, I had to do something that might have been similar to what you are trying to do. The customer stated that the model shall have bolt pretension. And afterward, they asked me to analyze a few dozen load cases in APDL, all originating from the aforementioned pretension case. So I solved the pretension case and saved it in the working directory. Then I wrote a macro with a DO loop to work through the load cases. At the beginning of the DO loop were /COPY commands to find the pretension RST, RDB, LDHI, and R001 files and copy them with new names for the specific load case I was solving. Then I proceeded like normal to add loads and solve. The beginning of the DO loop looked something like the following. Note that this loop was preceded with a macro full of parameters, to include the "filenames" definition. *DO,i,1,NUMCASES,1 /OUTPUT,%FILENAMES(1,i)%,out /FILNAME,Pretens parsav,all,parm2,par resume,Pretens,db allsel,all ANTYPE,,REST,1 FINISH parres,change,parm2,par /filname,%FILENAMES(1,i)% /copy,Pretens,rst,,%FILENAMES(1,i)%,rst /copy,Pretens,rdb,,%FILENAMES(1,i)%,rdb /copy,Pretens,ldhi,,%FILENAMES(1,i)%,ldhi /copy,Pretens,r001,,%FILENAMES(1,i)%,r001 . . . . ***add loads and BCs*** . . . . solve FINISH SAVE /delete,%FILENAMES(1,i)%,rdb /delete,%FILENAMES(1,i)%,ldhi /delete,%FILENAMES(1,i)%,r001 /delete,%FILENAMES(1,i)%,r002 /CLEAR parres,change,parm2,par *ENDDO /OUTPUT,TERM /DELETE,PARM1,par /DELETE,PARM2,par The above approach creates a separate set of result files for every load case. If you want them all saved on the same RST as separate time steps, you will probably have to use /AUX3 commands, specifically the RAPPND command. I hope this helps. -Matt -----Original Message----- From: Martin Mazurowski via Xansys <xansys-temp@list.xansys.org> Sent: Saturday, August 24, 2024 1:45 AM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Martin Mazurowski <martin.mazurowski@drehmoment.de> Subject: [Xansys] [Classic] Non Continous Loadseps Dear All, I probably have a simple question, but reading the manual didn't help me solve my problem. I have a model with 10 different boundary conditions (loads), and what I would like to achieve is that each load step is calculated separately, starting from the nominal state. As an example: if sliding contact occurs in Load Step 1, I want Load Step 2 to be calculated from the nominal geometry without considering any deformation. (I hope I managed to describe what I want to achieve clearly.) LSSOLVE calculates one load step after another, so it won't work for me in this case. It might also be important to mention that the .cdb file is started in batch mode. Thank you in advance for your help, and I wish you a nice weekend! Best regards, Mit freundlichen Grüßen, M. Eng. Martin Mazurowski [cid:image001.png@01DAF5F8.FC274EE0] Hauptstrasse 9 D-86637 Wertingen FON: 08272 9952-29 MOBIL: +49 157 581 577 83 FAX: 08272 9952-99 Mail: martin.mazurowski@drehmoment.de<mailto:martin.mazurowski@drehmoment.de> Web: http://www.drehmoment.de/<http://www.drehmoment.de/> Geschäftsführer: B.Eng. Fabian Helmschrott, M.Eng. Martin Mazurowski. Handelsregister Augsburg HRB 21452 Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. P Please consider your environmental responsibility before printing this e-mail. _______________________________________________ Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list _______________________________________________ Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list _______________________________________________ Xansys mailing list -- xansys-temp@list.xansys.org To unsubscribe send an email to xansys-temp-leave@list.xansys.org If you are receiving too many emails from XANSYS please consider changing account settings to Digest mode which will send a single email per day. Please send administrative requests such as deletion from XANSYS to xansys-mod@tynecomp.co.uk and not to the list