Giter Site home page Giter Site logo

ehd-in-point-to-ring-corona's Introduction

EHD-in-point-to-ring-corona

The UDF and FLUENT case to simulate EHD flow in the point-to-ring corona configuration

This code accompanies the paper: Experimental and numerical investigation of electrohydrodynamic flow in a point-to-ring corona discharge By: Yifei Guan, Ravi Sankar Vaddi, Alberto Aliseda, and Igor Novosselov URL: https://journals.aps.org/prfluids/abstract/10.1103/PhysRevFluids.3.043701

To implement the UDF properly:

  1. Open the FLUENT case file
  2. Compile UDF
  3. Setup everything properly as in the example. (The corresponding names of the UDS is listed in the UDF file) Here something to notice is to unselect the equations for other UDS except for potential and charge density. The diffusivity of charge density should be specified. The time-dependent term for potential should be unselected. The uds1_flux function is actually for uds2 which is the charge density. Remember to set the number of user-defined memory locations = 1
  4. Un-load the libudf
  5. Initialize the flow field (zero velocities should be fine)
  6. Run for 1 iteration (No need to run the whole time step)
  7. Load the libudf
  8. Unselect the charge equation in solution controls.
  9. Run it until the potential is steady-state
  10. Activate the charge equation solver in solution controls
  11. Run it at time step size 1e-7, then incrementally increase the time step size as the charge density is becoming steady state.

If apply it to other geometries, make sure these are correct:

  1. In the UDF file, change #define factor (2.0 * M_PI) to #define factor 1 if the geometric is 2D planar or 3D.
  2. #define x_ionization -3.0e-3 denotes the ionization zone boundary limits to avoid ionizations due to coarse mesh or large curvature in other places except for the corona anode. Change it if you need.
  3. In DEFINE_ADJUST(effective_volume,d), change t = Lookup_Thread(d, 12); to the fluid domain in your model.
  4. Change other Lookup_Thread, e.g., t = Lookup_Thread(d,14); to the correspondng boundaries in you model.

ehd-in-point-to-ring-corona's People

Contributors

gyf135 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.