资源描述
,Text line 1-Arial 20 pt.,Second line indent,Arial 18 pt.,Third level Arial 16 pt.,Fourth level Arial 14 pt.,Fifth level Arial 12 pt.,CCL,Click to edit Master title style,13-,*,ANSYS,Inc.Proprietary,2009 ANSYS,Inc.All rights reserved.,April 28,2009,Inventory#002598,Training Manual,13-,*,ANSYS,Inc.Proprietary,2009 ANSYS,Inc.All rights reserved.,April 28,2009,Inventory#002598,Text line 1-Arial 20 pt.,Second line indent,Arial 18 pt.,Third level Arial 16 pt.,Fourth level Arial 14 pt.,Fifth level Arial 12 pt.,Click to edit Master title style,Text line 1-Arial 20 pt.,Second line indent,Arial 18 pt.,Third level Arial 16 pt.,Fourth level Arial 14 pt.,Fifth level Arial 12 pt.,Out File,Click to edit Master title style,13-,*,ANSYS,Inc.Proprietary,2009 ANSYS,Inc.All rights reserved.,April 28,2009,Inventory#002598,Training Manual,Chapter 13Solver.out File and CCL,Introduction to CFX,Solver Output File,Produced by the ANSYS CFX-Solver and contains information about your simulation:,a)Model set-up,b)The state of the solution during the run,c)Job statistics for the particular run,Now lets take a detailed look at an out file,CFX-Solver,CFX-Pre,CFX-Post,.def,.res,.cfx,.cfx,.def,.res,.out,.gtm,.def,Solver Information,a)Model Setup,The out file,Physics definitionCFX Command Language(CCL),a)Model Setup,If an Initial Values file is provided,the Interpolator will run to copy/interpolate variables,b)Interpolator,Memory requirements shown here are for the interpolator only,Details of the interpolation process are shown,If solving in parallel the Partitioner will run to divide up the simulation into multiple partitions,c)Partitioner,Memory requirements shown here are for the partitioner only,Details of the partitioning process are shown,d)Solver,Mesh quality checks,mesh statistics and GGI intersection details are shown here,188 MB of RAM allocated,The start of the Solver process,Memory requirements shown here are for the Solver.If memory errors occur check if its the Interpolator,Partitioner or Solver process,Diagnostics shown as the solver iterates towards a solution,Upper case“OK is good.Lower case“ok means youre on the limit.“F means failed to solve the equation.Reducing the timestep may help avoid“ok and“F.The first few iterations may show“ok and“F and can be ignored as long as they go away,e)The State of the Solution,When the solution finishes the Imbalances are shown,Equation Imbalance in domain,f)Final Imbalances,Other data printed at the end of the out file include Viscous and Pressure forces and torques on walls,min/max variable values and detailed CPU requirements,g)Other Solution Data,Key Point,The.out file contains information on the physics,solution progress,and execution control.,CFX Command Language,object definition language which underlies all CFX products,Object parameters define the“state of an object,GUIs present object parameters in a contextual manner(parameters shown/hidden based on GUI selections),Allows for easy modifications,E.g.modifying an inlet velocity at a boundary,Advanced functionality(without complexity),i.e.loops and logic,CCL Command Interpreter,User Input/Interface,Processing Engine,What is CCL?,CCL Statements can be classified into three categories:,Object and parameter definitions,Actions,Power Syntax,1.Example of Parameter Definition:,CCL Instruction Types,2.Example of an Action Command:,A CFX-Post session file which includes a set of actions.,3.Example of Power Syntax:,Lines of Power Syntax are identified in a,CCL file by a special character“!at the,start of each line.,CCL Instruction Types,Terminology:Parameter Name=Parameter Value,CCL follows a data hierarchy.In order to specify the Temperature,the associated parents(Boundary,Domain,Flow)must be included,As long as the parameters are of the same object,order is unimportant,An object started must be ended,If data is set in one place and modified in another,the latter definition overrides the first,Terminology:The object,Flow,is the parent of the object,Domain,and this is,Flow Analysis 1,Data Hierarchy,The syntax rules of CCL are similar to many programming languages.Below are a few syntax rules but for a complete list,please search the help documentation(CCL Syntax),Case Sensitivity,Everything in the file is sensitive to case.,Effect of spaces,Spaces appearing before or after a name are not considered to be part of the name.,Single spaces appearing inside a name are significant.,Multiple spaces and tabs appearing inside a name are treated as a single space.,CCL names definition,In simple syntax,a CCL name must be at least one character.,This first character must be alphabetic;there may be any number of subsequent characters and these can be alphabetic,numeric,space or tab.,Continued on next slide,Syntax,Parameter Values,STRING,The characters$and#have a special meaning.A string beginning with$is evaluated as a Power Syntax variable,even if it occurs within a simple syntax statement.,The characters such as,and are special only if used in conju
展开阅读全文