Ansys: Difference between revisions

40 bytes removed ,  8 months ago
m
no edit summary
mNo edit summary
mNo edit summary
Line 532: Line 532:
; ----------------------------------------------
; ----------------------------------------------
; lines beginning with a semicolon are comments
; lines beginning with a semicolon are comments
<!--T:2501-->
; Overwrite files by default
/file/confirm-overwrite no


<!--T:2825-->
<!--T:2825-->
; Read/Write ANSYS common fluids format (CFF) files? [yes by default]
; Read/Write files in legacy format
/file/cff-files no
/file/cff-files no


<!--T:2507-->
<!--T:2507-->
; Read input case and data files:
; Read input case and data files
/file/read-case-data FFF-in
/file/read-case-data FFF-in


<!--T:2508-->
<!--T:2508-->
; Run the solver for this many iterations:
; Run the solver for this many iterations
/solve/iterate 1000
/solve/iterate 1000


<!--T:2511-->
<!--T:2511-->
; Overwrite output files by default:
; Overwrite output files by default
/file/confirm-overwrite n
/file/confirm-overwrite n


<!--T:2513-->
<!--T:2513-->
; Write final output data file:
; Write final output data file
/file/write-data FFF-out
/file/write-case-data FFF-out


<!--T:2515-->
<!--T:2515-->
; Write simulation report to file (optional):
; Write simulation report to file (optional)
/report/summary y "My_Simulation_Report.txt"
/report/summary y "My_Simulation_Report.txt"


<!--T:2517-->
<!--T:2517-->
; Exit fluent (required to requeue):
; Exit fluent
exit
exit
}}
}}
Line 571: Line 575:
; ----------------------------------------------
; ----------------------------------------------
; lines beginning with a semicolon are comments
; lines beginning with a semicolon are comments
<!--T:3601-->
; Overwrite files by default
/file/confirm-overwrite no


<!--T:3602-->
<!--T:3602-->
; Read/Write ANSYS common fluids format (CFF) files? [yes by default]
; Read/Write files in legacy format
/file/cff-files no
/file/cff-files no


<!--T:3604-->
<!--T:3604-->
; Read input files (.cas/.dat or .cas.h5/.dat.h5):
; Read input files
/file/read-case-data FFF-in
/file/read-case-data FFF-in


<!--T:3606-->
<!--T:3606-->
; Write a data file every 100 iterations:
; Write a data file every 100 iterations
/file/auto-save/data-frequency 100
/file/auto-save/data-frequency 100


<!--T:3608-->
<!--T:3608-->
; Retain data files from 5 most recent iterations:
; Retain data files from 5 most recent iterations
/file/auto-save/retain-most-recent-files y
/file/auto-save/retain-most-recent-files y


Line 593: Line 601:


<!--T:3612-->
<!--T:3612-->
; Run the solver for this many iterations:
; Run the solver for this many iterations
/solve/iterate 1000
/solve/iterate 1000


<!--T:3614-->
<!--T:3614-->
; Write final output case and data files:
; Write final output case and data files
/file/write-case-data FFF-out
/file/write-case-data FFF-out


<!--T:3616-->
<!--T:3616-->
; Write simulation report to file (optional):
; Write simulation report to file (optional)
/report/summary y "My_Simulation_Report.txt"
/report/summary y "My_Simulation_Report.txt"


<!--T:3618-->
<!--T:3618-->
; Exit fluent (required to requeue):
; Exit fluent
exit
exit
}}
}}
Line 618: Line 626:
; -------------------------------------------------
; -------------------------------------------------
; lines beginning with a semicolon are comments
; lines beginning with a semicolon are comments
<!--T:36701-->
; Overwrite files by default
/file/confirm-overwrite no


<!--T:3702-->
<!--T:3702-->
; Read/Write ANSYS common fluids format (CFF) files? [yes by default]
; Read/Write files in legacy format
/file/cff-files no
/file/cff-files no


<!--T:3704-->
<!--T:3704-->
; Read only the input case file:
; Read the input case file
/file/read-case FFF-transient-inp
/file/read-case FFF-transient-inp


<!--T:3706-->
<!--T:3706-->
; For continuation (restart) read in both case and data input files:
; For continuation (restart) read in both case and data input files
;/file/read-case-data FFF-transient-inp
;/file/read-case-data FFF-transient-inp


<!--T:3708-->
<!--T:3708-->
; Write a data (and maybe case) file every 100 time steps:
; Write a data (and maybe case) file every 100 time steps
/file/auto-save/data-frequency 100
/file/auto-save/data-frequency 100
/file/auto-save/case-frequency if-case-is-modified
/file/auto-save/case-frequency if-case-is-modified


<!--T:3710-->
<!--T:3710-->
; Retain only the most recent 5 data (and maybe case) files:
; Retain only the most recent 5 data (and maybe case) files
/file/auto-save/retain-most-recent-files y
/file/auto-save/retain-most-recent-files y


Line 650: Line 662:
; Set the physical time step size
; Set the physical time step size
/solve/set/time-step 0.0001
/solve/set/time-step 0.0001
<!--T:3718-->
; Set the max number of iterations per time step:
/solve/set/max-iterations-per-time-step 20


<!--T:3720-->
<!--T:3720-->
; Set the number of iterations for which convergence monitors are reported:
; Set the number of iterations for which convergence monitors are reported
/solve/set/reporting-interval 1
/solve/set/reporting-interval 1


Line 663: Line 671:


<!--T:3724-->
<!--T:3724-->
; Initialize using the hybrid initialization method:
; Initialize using the hybrid initialization method
/solve/initialize/hyb-initialization
/solve/initialize/hyb-initialization


<!--T:3726-->
<!--T:3718-->
; Perform unsteady iterations for a specified number of time steps:
; Set max number of iters per time step and number of time steps
/solve/dual-time-iterate 1000 ,
;/solve/set/max-iterations-per-time-step 75
;/solve/dual-time-iterate 1000 ,
/solve/dual-time-iterate 1000 75


<!--T:3728-->
<!--T:3728-->
; Write final case and data output files:
; Write final case and data output files
/file/write-case-data FFF-transient-out
/file/write-case-data FFF-transient-out


<!--T:3730-->
<!--T:3730-->
; Write simulation report to file (optional):
; Write simulation report to file (optional)
/report/summary y Report_Transient_Simulation.txt
/report/summary y Report_Transient_Simulation.txt


<!--T:3732-->
<!--T:3732-->
; Exit fluent (required to requeue):
; Exit fluent
exit
exit
}}
}}
cc_staff
1,863

edits