Merge branch 'master' of github.com:JamesEMcClure/LBPM-WIA
This commit is contained in:
commit
a47e5c891b
@ -165,13 +165,6 @@ The relaxation parameters are determined based on the relaxation time :math:`\ta
|
|||||||
$$
|
$$
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
****************************
|
|
||||||
Example Input File
|
|
||||||
****************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
****************************
|
****************************
|
||||||
Boundary Conditions
|
Boundary Conditions
|
||||||
@ -207,3 +200,29 @@ the inlet or outlet, the ``Domain`` section of the database may specify the foll
|
|||||||
- ``InletLayerPhase = 2`` -- establish a reservoir of component B at the inlet
|
- ``InletLayerPhase = 2`` -- establish a reservoir of component B at the inlet
|
||||||
- ``OutletLayerPhase = 1`` -- establish a reservoir of component A at the outlet
|
- ``OutletLayerPhase = 1`` -- establish a reservoir of component A at the outlet
|
||||||
|
|
||||||
|
****************************
|
||||||
|
Example Input File
|
||||||
|
****************************
|
||||||
|
|
||||||
|
.. code-block:: c
|
||||||
|
|
||||||
|
MRT {
|
||||||
|
tau = 1.0
|
||||||
|
F = 0.0, 0.0, 1.0e-5
|
||||||
|
timestepMax = 2000
|
||||||
|
tolerance = 0.01
|
||||||
|
}
|
||||||
|
Domain {
|
||||||
|
Filename = "Bentheimer_LB_sim_intermediate_oil_wet_Sw_0p37.raw"
|
||||||
|
ReadType = "8bit" // data type
|
||||||
|
N = 900, 900, 1600 // size of original image
|
||||||
|
nproc = 2, 2, 2 // process grid
|
||||||
|
n = 200, 200, 200 // sub-domain size
|
||||||
|
offset = 300, 300, 300 // offset to read sub-domain
|
||||||
|
voxel_length = 1.66 // voxel length (in microns)
|
||||||
|
ReadValues = 0, 1, 2 // labels within the original image
|
||||||
|
WriteValues = 0, 1, 2 // associated labels to be used by LBPM
|
||||||
|
InletLayers = 0, 0, 10 // specify 10 layers along the z-inlet
|
||||||
|
BC = 0 // boundary condition type (0 for periodic)
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -79,6 +79,7 @@ public:
|
|||||||
* \brief Debugging function to dump simulation state to disk
|
* \brief Debugging function to dump simulation state to disk
|
||||||
*/
|
*/
|
||||||
void WriteDebug();
|
void WriteDebug();
|
||||||
|
void WriteVisFiles();
|
||||||
|
|
||||||
bool Restart,pBC;
|
bool Restart,pBC;
|
||||||
bool REVERSE_FLOW_DIRECTION;
|
bool REVERSE_FLOW_DIRECTION;
|
||||||
@ -159,6 +160,5 @@ private:
|
|||||||
* \brief Seed phase field
|
* \brief Seed phase field
|
||||||
*/
|
*/
|
||||||
double SeedPhaseField(const double seed_water_in_oil);
|
double SeedPhaseField(const double seed_water_in_oil);
|
||||||
void WriteVisFiles();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ int main(int argc, char **argv)
|
|||||||
GreyscaleColor.Create(); // creating the model will create data structure to match the pore structure and allocate variables
|
GreyscaleColor.Create(); // creating the model will create data structure to match the pore structure and allocate variables
|
||||||
GreyscaleColor.Initialize(); // initializing the model will set initial conditions for variables
|
GreyscaleColor.Initialize(); // initializing the model will set initial conditions for variables
|
||||||
GreyscaleColor.Run();
|
GreyscaleColor.Run();
|
||||||
GreyscaleColor.WriteVis();
|
GreyscaleColor.WriteVisFiles();
|
||||||
|
|
||||||
PROFILE_STOP("Main");
|
PROFILE_STOP("Main");
|
||||||
PROFILE_SAVE("lbpm_greyscaleColor_simulator",1);
|
PROFILE_SAVE("lbpm_greyscaleColor_simulator",1);
|
||||||
|
Loading…
Reference in New Issue
Block a user