Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
28Activity
0 of .
Results for:
No results containing your search query
P. 1
Ansys 14 Udf Maual

Ansys 14 Udf Maual

Ratings: (0)|Views: 1,091 |Likes:
Published by Subhasish Mitra

More info:

Published by: Subhasish Mitra on Oct 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/10/2014

pdf

text

original

 
ANSYS FLUENT UDF Manual
Release 14.0ANSYS, Inc.November 2011Southpointe275 Technology DriveCanonsburg, PA 15317
ANSYS, Inc. iscertified to ISO9001:2008.
ansysinfo@ansys.comhttp://www.ansys.com(T) 724-746-3304(F) 724-514-9494
 
Copyright and Trademark Information
© 2011 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and anyand all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks ortrademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark usedby ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, serviceand feature names or trademarks are the property of their respective owners.
Disclaimer Notice
 THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS.The software productsand documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreementthat contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exportinglaws, warranties, disclaimers, limitations of liability, and remedies, and other provisions.The software productsand documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditionsof that software license agreement.ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See thelegal informationin the product help files for the complete Legal Notice for ANSYS proprietary softwareand third-party software. If you are unable to access the Legal Notice, please contact ANSYS, Inc.Published in the U.S.A.
 
Table of Contents
Using This Manual.....................................................................................................................................xxi1.The Contents of This Manual..............................................................................................................xxi2.The Contents of the FLUENT Manuals................................................................................................xxii3.Typographical Conventions.............................................................................................................xxiii4. Mathematical Conventions..............................................................................................................xxiii5.Technical Support............................................................................................................................xxv
..........................................................................................11.1.What is a User-Defined Function?......................................................................................................11.2. Limitations.......................................................................................................................................21.3. Defining Your UDF Using
Macros.........................................................................................21.3.1. Including the
Header File in Your Source File................................................................31.4. Interpreting and Compiling UDFs......................................................................................................41.4.1. Compiled UDFs........................................................................................................................41.4.2. Interpreted UDFs.....................................................................................................................41.4.3. Differences Between Interpreted and Compiled UDFs...............................................................51.5. Hooking UDFs to Your ANSYS FLUENT Model.....................................................................................51.6. Mesh Terminology............................................................................................................................61.7. Data Types in ANSYS FLUENT............................................................................................................71.8. UDF Calling Sequence in the Solution Process...................................................................................81.8.1. Pressure-Based Segregated Solver............................................................................................91.8.2. Pressure-Based Coupled Solver.................................................................................................91.8.3. Density-Based Solver................................................................................................................91.9. Special Considerations for Multiphase UDFs....................................................................................121.9.1. Multiphase-specific Data Types...............................................................................................12
.....................................................................................................................................152.1. Introduction...................................................................................................................................152.2. General Purpose
Macros...................................................................................................152.2.1.
.................................................................................................................162.2.1.1. Description...................................................................................................................162.2.1.2. Usage............................................................................................................................172.2.1.3. Example 1.....................................................................................................................172.2.1.4. Example 2.....................................................................................................................172.2.1.5. Hooking an Adjust UDF to ANSYS FLUENT......................................................................182.2.2.
.................................................................................................................182.2.2.1. Description...................................................................................................................182.2.2.2. Usage............................................................................................................................182.2.2.3. Example........................................................................................................................192.2.2.4. Hooking an Adaptive Time Step UDF to ANSYS FLUENT..................................................192.2.3.
................................................................................................192.2.3.1. Description...................................................................................................................192.2.3.2. Usage............................................................................................................................192.2.3.3. Example........................................................................................................................202.2.3.4. Hooking an Execute-at-End UDF to ANSYS FLUENT.........................................................202.2.4.
.............................................................................................212.2.4.1. Description...................................................................................................................212.2.4.2. Usage............................................................................................................................212.2.4.3. Hooking an Execute-at-Exit UDF to ANSYS FLUENT.........................................................212.2.5.
...........................................................................................212.2.5.1. Description...................................................................................................................212.2.5.2. Usage............................................................................................................................21iii
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.

Activity (28)

You've already reviewed this. Edit your review.
Shook Ching liked this
bvsskmr liked this
1 thousand reads
1 hundred reads
Dio Rhapsody liked this
diegodcba liked this
allan__tech liked this
Pooja Nath liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->