|
[Sponsors] |
December 11, 2015, 23:26 |
CFD code layout
|
#1 |
New Member
Join Date: Dec 2015
Posts: 1
Rep Power: 0 |
Hello everyone,
I am a master student in aerospace engineering. I need to develop a plasma code within about one semester (4 months) in order to graduate on time. The plasma code must couple the Poisson and drift-diffusion equations with the laminar compressible Navier-Stokes equation. I took some course on numerical aerodynamics and I am familiar with notions like explicit scheme, implicit scheme, semi-implicit scheme, CFL, stability, consistency, etc. I am familiar with finite difference method and I am implementing this method in my code. Of course, I have already coded the heat equation, the 1D Euler equation, and the 2D Poisson equation but only for extremely simple case. While I have some limited experience in coding, I have some difficulty to design the general layout of my code (meshing, boundary conditions, etc.). My geometry is relatively simple but my code need to be flexible enough in order to eventually implement some modifications. Do someone have some recommendations for the layout of my code? Thanks very much. |
|
December 12, 2015, 05:50 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
Generally, the grid generation is a specific and different code that provides only the grid topology to be read by the CFD code...The CFD code defines the BC.s and initial condition and contains the general solver. I strongly suggest to use a Finite Volume discretization for mass, momentum and total energy equations so that you have a fully conservative formulation. The CFD code provides only the data-set for the solution and a post-processing code for visualization, as well as statistical purposes is the third element you need. |
||
December 12, 2015, 21:29 |
|
#3 | |
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 |
Quote:
OpenFOAM gives you access to all of the base CFD features, including FV formulations on unstructured meshes for very general transport equations, lots of interpolation schemes, various linear equation solvers, parallel functionality, etc. And there are lots and lots of example solvers to help you learn. If you are permitted to use OpenFOAM, I recommend that you do. On the other hand, if you can start from scratch and get all of that physics coded and working in a coupled way within four months, then send me your resume when you are done. 8) |
||
December 12, 2015, 23:10 |
|
#4 |
New Member
ghost
Join Date: Dec 2015
Posts: 5
Rep Power: 11 |
I think you have to go with finite element method for solving that problem effectively
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD Code with Fortran | murat | Main CFD Forum | 0 | October 11, 2009 18:05 |
the best CFD code for women | For the marketers | Main CFD Forum | 17 | August 24, 2006 13:17 |
Where do we go from here? CFD in 2001 | John C. Chien | Main CFD Forum | 36 | January 24, 2001 22:10 |
CFD JOBS and Expected Salary.... | Noel Harrison | Main CFD Forum | 11 | November 22, 2000 08:15 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 12:44 |