CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

FieldField for kinetic solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2014, 12:48
Question FieldField for kinetic solver
  #1
Member
 
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 14
zhulianhua is on a distinguished road
Hi! All,

I'm trying to write a solver to solve the discrete velocity Boltzmann equation (DVBE). This equation describe the evolution of the distribution function $f$.

$f$ is a function of $(t, x, y, z, \xi_x, \xi_y, \xi_z)$, here the $\xi_x, \xi_y, \xi_z$ is the discrete velocity.

So in each CELL, there is discrete velocity grid (DVG, uniform and same for all cells), it defines the velocity grid for $\xi_x, \xi_y, \xi_z$. The $f$ of the Cell is defined on that grid.


Now, the problem is that the unkonwns in each cell is an 3D array to store the distribution functions of the cell.

As far as i googled, the are two possible ways for that, (I guess, totally)
1. Store the f in the physical Mesh as PtrList<volScalarField> F. The list size is the number of the elements in the DVG. In this way, it similar to the species representation in multi-component problem. [link]

2. I saw there is a FieldField class in OF. So I was considering if it is possible to define the distribution function in each cell as a volScalarField, and for the whole physical mesh, define a FieldField object.

Sorry if my problem is not clear.

Best,

Lianhua
zhulianhua is offline   Reply With Quote

Reply

Tags
kinetic, solver


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 08:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Divergence problem Smaras FLUENT 13 February 21, 2013 05:03
3d vof Smaras FLUENT 2 February 19, 2013 06:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 10:45.