Looking for a macro to write out a pressure input file

BD
Bohlen, Dan (GE Aerospace, US)
Thu, Jun 5, 2025 4:16 PM

Hi All,

i know this can be with the LSWRIT command, but I like to be able to easily substitute a parameter name of the pressure and be able to read back in later.

Dan Bohlen
Senior Engineer, Stress Analysis
STAR review chairman, military structures
GE Aerospace
1 Neumann Way
Evendale, OH  45215  USA

Hi All, i know this can be with the LSWRIT command, but I like to be able to easily substitute a parameter name of the pressure and be able to read back in later. Dan Bohlen Senior Engineer, Stress Analysis STAR review chairman, military structures GE Aerospace 1 Neumann Way Evendale, OH 45215 USA
JM
Joe Metrisin (US)
Thu, Jun 5, 2025 4:30 PM

Hi Dan,

Not sure if I understand your question exactly, but you can assign a
parameter dynamically as a load something like this:  sf, zone1, pres,
%pres_zone1%.  Later on, if you want to change the pressure values, you only
need to update the pres_zone1 parameter.  You don't need to reapply it with
the SF command.

Joe Metrisin

-----Original Message-----
From: Bohlen, Dan (GE Aerospace, US) via Xansys
xansys-temp@list.xansys.org
Sent: Thursday, June 5, 2025 12:17 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Bohlen, Dan (GE Aerospace, US) dan.bohlen@geaerospace.com
Subject: [External] - [Xansys] Looking for a macro to write out a pressure
input file

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know the
content is safe.

Hi All,

i know this can be with the LSWRIT command, but I like to be able to easily
substitute a parameter name of the pressure and be able to read back in
later.

Dan Bohlen
Senior Engineer, Stress Analysis
STAR review chairman, military structures GE Aerospace
1 Neumann Way
Evendale, OH  45215  USA


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 Dan, Not sure if I understand your question exactly, but you can assign a parameter dynamically as a load something like this: sf, zone1, pres, %pres_zone1%. Later on, if you want to change the pressure values, you only need to update the pres_zone1 parameter. You don't need to reapply it with the SF command. Joe Metrisin -----Original Message----- From: Bohlen, Dan (GE Aerospace, US) via Xansys <xansys-temp@list.xansys.org> Sent: Thursday, June 5, 2025 12:17 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Bohlen, Dan (GE Aerospace, US) <dan.bohlen@geaerospace.com> Subject: [External] - [Xansys] Looking for a macro to write out a pressure input file CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi All, i know this can be with the LSWRIT command, but I like to be able to easily substitute a parameter name of the pressure and be able to read back in later. Dan Bohlen Senior Engineer, Stress Analysis STAR review chairman, military structures GE Aerospace 1 Neumann Way Evendale, OH 45215 USA _______________________________________________ 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
MR
Matthew Ridzon, PE
Thu, Jun 5, 2025 6:06 PM

Likewise; I'm not sure if I understand the question fully either.  But I wonder if PARSAV and PARRES would work in this situation.

-Matt

-----Original Message-----
From: Joe Metrisin (US) via Xansys xansys-temp@list.xansys.org
Sent: Thursday, June 5, 2025 12:30 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Bohlen, Dan (GE Aerospace, US) dan.bohlen@geaerospace.com; Joe Metrisin (US) Joe.Metrisin@kratosdefense.com
Subject: [Xansys] Re: [External] - Looking for a macro to write out a pressure input file

Hi Dan,

Not sure if I understand your question exactly, but you can assign a parameter dynamically as a load something like this:  sf, zone1, pres, %pres_zone1%.  Later on, if you want to change the pressure values, you only need to update the pres_zone1 parameter.  You don't need to reapply it with the SF command.

Joe Metrisin

-----Original Message-----
From: Bohlen, Dan (GE Aerospace, US) via Xansys xansys-temp@list.xansys.org
Sent: Thursday, June 5, 2025 12:17 PM
To: XANSYS Mailing List Home xansys-temp@list.xansys.org
Cc: Bohlen, Dan (GE Aerospace, US) dan.bohlen@geaerospace.com
Subject: [External] - [Xansys] Looking for a macro to write out a pressure input file

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi All,

i know this can be with the LSWRIT command, but I like to be able to easily substitute a parameter name of the pressure and be able to read back in later.

Dan Bohlen
Senior Engineer, Stress Analysis
STAR review chairman, military structures GE Aerospace
1 Neumann Way
Evendale, OH  45215  USA


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

Likewise; I'm not sure if I understand the question fully either. But I wonder if PARSAV and PARRES would work in this situation. -Matt -----Original Message----- From: Joe Metrisin (US) via Xansys <xansys-temp@list.xansys.org> Sent: Thursday, June 5, 2025 12:30 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Bohlen, Dan (GE Aerospace, US) <dan.bohlen@geaerospace.com>; Joe Metrisin (US) <Joe.Metrisin@kratosdefense.com> Subject: [Xansys] Re: [External] - Looking for a macro to write out a pressure input file Hi Dan, Not sure if I understand your question exactly, but you can assign a parameter dynamically as a load something like this: sf, zone1, pres, %pres_zone1%. Later on, if you want to change the pressure values, you only need to update the pres_zone1 parameter. You don't need to reapply it with the SF command. Joe Metrisin -----Original Message----- From: Bohlen, Dan (GE Aerospace, US) via Xansys <xansys-temp@list.xansys.org> Sent: Thursday, June 5, 2025 12:17 PM To: XANSYS Mailing List Home <xansys-temp@list.xansys.org> Cc: Bohlen, Dan (GE Aerospace, US) <dan.bohlen@geaerospace.com> Subject: [External] - [Xansys] Looking for a macro to write out a pressure input file CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi All, i know this can be with the LSWRIT command, but I like to be able to easily substitute a parameter name of the pressure and be able to read back in later. Dan Bohlen Senior Engineer, Stress Analysis STAR review chairman, military structures GE Aerospace 1 Neumann Way Evendale, OH 45215 USA _______________________________________________ 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