How to export interphase mass transfer rate of a transient homogeneous multiphase flow simulation (cavitating flow) in trn-files?
Up to ANSYS CFX 10 the CFX-Post Variable Fluid 1 | Fluid 2.Interphase Mass Transfer Rate is not available during the run. It is only available in the final result file. As a workaround it can be exported to trn-file, but therefore it has to be assinged to an additional variable. Furthermore the RULES and LIBRARY Object of the ccl-file needs some modification. 1. Define an Additional Variable, Units [kg/s/m^3] 2. Activate this additional variable for the liquid phase, not for the vapor phase. ADDITIONAL VARIABLE: intmtr Additional Variable Value = Water Vapour at 25 C | Water at 25 C.Interphase Ma ss Transfer Rate Option = Algebraic Equation END 3. This variable can be exported to trn-files once it is part of the selected variables list. 4. Start the CFX-10 solver with the -ccl option in order to extend the standard-Rules file with the following file: RULES: PARAMETER: Output Variables List Parameter Type = String List Solver Name = CVAR: VARIABLE, ADDITIONAL VARIABLE, FLUID.VARIABLE, PARTICLE.VARIABLE, PARTICLE.MATERIAL.VARIABLE, FLUID.ADDITIONAL VARIABLE, SOLID.VARIABLE, SOLID.ADDITIONAL VARIABLE, MATERIAL.VARIABLE, FLUID.MATERIAL.VARIABLE, ADDITIONAL VARIABLE.VARIABLE, FLUID.ADDITIONAL VARIABLE.VARIABLE, SOLID.ADDITIONAL VARIABLE.VARIABLE, MUSIG FLUID.VARIABLE, MUSIG FLUID.SIZE GROUP.VARIABLE, FLUID PAIR.VARIABLE, FLUID.GRAY GAS.VARIABLE, SOLID.GRAY GAS.VARIABLE, FLUID.SPECTRAL BAND.VARIABLE, SOLID.SPECTRAL BAND.VARIABLE Dynamic Reread Item = Yes END END LIBRARY: VARIABLE: ipmt rate Option = Definition MMS Name = IPMT_MTOT Long Name = Interphase Mass Transfer Rate Tensor Type = SCALAR Quantity = Mass Source Status = DR CEL Root = /FLOW/PHYSICS/{Zone}/{PhasePair} User Level = 3 Output to Jobfile = Yes Output to Postprocessor = Yes Physical Availability = MULTIPHASE Variable Scope = PHASE General Availability = CEL, RESULTS END END |
||
|