![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
To save all currently defined boundary conditions to a file, enter the file/write-bc text command and specify a name for the file.
ANSYS FLUENT writes the boundary and cell zone conditions, the solver, and model settings to a file using the same format as the "zone'' section of the case file. See Appendix B for details about the case file format.
To read boundary conditions from a file and to apply them to the corresponding zones in your model, enter the file/read-settings text command.
ANSYS FLUENT sets the boundary and cell zone conditions in the current model by comparing the zone name associated with each set of conditions in the file with the zone names in the model. If the model does not contain a matching zone name for a set of boundary conditions, those conditions are ignored.
If you read boundary conditions into a model that contains a different mesh topology (e.g., a cell zone has been removed), check the conditions at boundaries within and adjacent to the region of the topological change. This is important for wall zones.
When the file/read-settings text command is not used, all boundary conditions get the default settings when a mesh file is imported, allowing the case to run with the default values.
If you want ANSYS FLUENT to apply a set of conditions to multiple zones with similar names, or to a single zone with a name you are not sure of in advance, you can edit the boundary-condition file saved with the file/write-bc command to include wildcards ( *) within the zone names. For example, if you want to apply a particular set of conditions to wall-12, wall-15, and wall-17 in your current model, edit the boundary-condition file so that the zone name associated with the desired conditions is wall-*.