Giter VIP home page Giter VIP logo

ansysfluent17.0jouforfixedliftcalculation's Introduction

AnsysFluent17.0JouForFixedLiftCal

This repository provides .jou scripts in Ansys Fluent 17.0 for obtaining aerodynamic performance (lift force, transition position,etc.) under fixed lift.

prep_1proc_sample.jou

This journal is an example for importing a plot3d mesh, cutting the boudanry conditions, and set the types for them. The cutting involves the distribution of cores/processes designated by jog users, so I apply only 1 core for this jou, and applying any number of cores for the <cal_anyproc_sample.jou> for initialization and calculation.

cal_anyproc_sample.jou

Initialization and calculation. The convergence criterion of lift and drag coefficient is a realative ratio. Therefore, the absolute deviation is varified due to different angles of attack. The number now is a product of compromise. The discussion is as follows:

Aoa * Cl * Cd 1 0.433 0.00507 3 0.64 0.0067 7 0.970 0.0301 9 1.00 0.045

For a fixed relative ratio, the absolute deviation can be from 0.0001/0.433=0.0002 to 0.0009/1.00 for lift case, or from 0.0001/0.00507=0.02 to 0.0009/0.045=0.02 for drag case, given that we want lift force effective digit twinkles at the fourth place (cf. fixed lift force of 0.824) and drag force effective digit at the place of 0~9count (i.e. 0.000x).

prep_cal.sh

This is the bash file calling the jou files. They do the CFD work and some raw post-processing.

mffoil03

This is the file that has the information of the cores to be called. It is thought to be put at my desktop, which /home/user03/ The content of it is simply a line: ibcn03:20

seek_solution_Dichotomy.sh

This file dominates the process of find the corresponding angle of attack to the fixed lift. The dichotomy is modified with weights since before separation, the Cl-alpha curve should be monotonically increasing with angle of attack.

seek_solution_Dichotomy_test.sh

this file tests the bash scripts for dichotomy.

seek_solution_steptrying.s

This file illustrates the necessity of dicotomy.

~.xyz

the mesh file of rae2822 benchmark case

thought on convergence criterion

For lift fixed at 0.824, it has three effective digits. Its toleranceis 5e-4 (w.r.t. absolute perspective). Since the practical error is in squared form, the dist in the code should be 2.5e-07 less than before stopping iteration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.