-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple model to BoltzmannMFX #3
Comments
The transfer of material between the continuum fields and the particles is described in the bmx_calc_txfr_fluid (transfer from particles to continuum fields) and bmx_calc_txfr_particles (transfer from continuum fields to particles). Both these routines are located in bmx_calc_txfr.cpp located in src/des. |
The number of chemical species in the fluid is defined in bmx_fluid_parms.H and the number of chemical species inside a particle is probably defined in bmx_chem_species_parms.H (not 100% sure of this). No chemical species inside the particles seemed to be defined in the inputs file for the 1-particle test case in exec. Species are defined in the fluid. |
The real (as opposed to integer) data carried by each particle is defined
in des/bmx_pc.H -- currently this is
struct realData
{
enum { // Real particle data stored in p.m_data
velx,
vely,
velz,
radius,
volume,
fluid_A,
fluid_B,
consume_A,
consume_B,
count
};
};
The way these components are used in the current code, the fluid_A and
fluid_B components are used to hold the values of X_A and X_B as
interpolated from the fluid. If one wants to add chemical species
actually carried by the particles, then one can add them to the enum list
here. They shoudl then be initialized in des/bmx_pc_init.cpp
Currently bmx_chem_species_parms.H is largely irrelevant, but could be
revived as needed.
…On Thu, Mar 11, 2021 at 11:48 AM bjpalmer ***@***.***> wrote:
The number of chemical species in the fluid is defined in
bmx_fluid_parms.H and the number of chemical species inside a particle is
probably defined in bmx_chem_species_parms.H (not 100% sure of this). No
chemical species inside the particles seemed to be defined in the inputs
file for the 1-particle test case in exec. Species are defined in the fluid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACRE6YSAHM7HYZIA3QGMWS3TDEF75ANCNFSM4Y4CATZA>
.
--
Ann Almgren
Senior Scientist; CCSE Group Lead
|
I'm trying to generalize these data structures to handle a more generic set of cells. I've defined two new enumerations: /**
/**
The idea is that the mechanics are hardwired to describe a general ellipsoid interacting with other ellipsoids. Simpler geometric models (e.g. spheres) are subsets of this ellipsoidal model. The chemistry model is arbitrary and consists of a collections of real fields (chemical species) that are unpacked by a chemistry module. The readIdx::first_data index points to the start of the block of real data for each particle and the size of the block is stored in intIdx::size_real. The integer variables are similar. Again, additional integer variables describing the cell state are stored in a block of data that can be accessed using the intIdx::first_data variable. |
The simple ABC model has been added to BoltzmannMFX and is running for short time periods. It exhibits cell growth and division and also contains mechanical interactions between cells. The behaviors included in the simulation so far are
|
Take simple model documented in docs/models/model1/model1.tex and add it to BoltzmannMFX.
The text was updated successfully, but these errors were encountered: