[ANSYS, Inc. Logo] return to home search
next up previous contents index

4.7 Reading and Writing Boundary Conditions

To save all currently defined boundary conditions to a file, enter the file/write-bc text command and specify a name for the file.

file $\rightarrow$ write-bc

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.

file $\rightarrow$ read-settings

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.

Note:   If the boundary conditions are not checked and some remain uninitialized, the case will not run successfully.

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-*.

next up previous contents index Previous: 4.6 Reading and Writing
Up: 4. Reading and Writing
Next: 4.8 Writing a Boundary
Release 12.0 © ANSYS, Inc. 2009-01-29