Skip to content

Fluid interface issue #88

@AlPaPet

Description

@AlPaPet

Dear Professor McClure, I'am trying to test your code for imbitition simulation on a simple artificial porous medium sample (basically just a regular array of vertical solid columns), and noticed a strange thing considering the fluid/fluid interface. When the surface of the columns sides is smooth, the fluid/fluid interface looks normal. If the surface of the columns sides is rugous, multiple small droplets of the invading fluid are observed at quite a significant distance from the main advancing fluid/fluid interface. The issue is present for different contact angles. Do you know what could be causing this behavior of the code?
The input parameters for lbpm_color_simulator look like:
Domain {
   Filename = "VoxelFile_LBPM_566_600_610_s0p1_SWAP.dat"
   ReadType = "8bit"  // data type
   nproc = 1, 3, 2     // process grid
   n = 566, 200, 305   // sub-domain size

   N = 566, 600, 610  // size of original image
   voxel_length = 1.0  // voxel length (in microns)
   ReadValues =  0, 1, 2  // labels within the original image
   WriteValues = 0, 1, 2 // associated labels to be used by LBPM
   BC = 4                // boundary condition type (4 for flux)
}
Color {
    tauA = 1.0;             // relaxation time for fluid A (labeled as "1")
    tauB = 1.0;             // relaxation time for fluid B (labeled as "2")
    rhoA   = 1.0;           // density for fluid A (in lattice units)
    rhoB   = 1.0;           // density for fluid B (in lattice units)
    alpha = 2.0e-4;         // controls the surface tension
    beta  = 0.9;            // controls the interface width
    F = 0, 0, 0             // controls the external force
    Restart = false         // initialize simulation from restart file?
    timestepMax = 2100000   // maximum number of timesteps to perform before exit
    ComponentLabels = 0      // number of immobile component labels in the input image
    ComponentAffinity = -0.5 // wetting condition for each immobile component
    flux = -60.0             // volumetric flux at the z-inlet in voxels per timestep
}
Analysis {
    analysis_interval = 10000        // Frequency to perform analysis
    visualization_interval = 100000  // Frequency to write visualization data
    restart_interval = 100000        // Frequency to write restart data
    restart_file = "Restart"         // Filename to use for restart file (will append rank)
    N_threads    = 1                 // Number of threads to use for analysis
    load_balance = "independent"     // Load balance method to use: "none", "default", "independent"
}
Visualization {
   format = "hdf5"
   write_silo = true         // write SILO databases with assigned variables
   save_8bit_raw = true      // write labeled 8-bit binary files with phase assignments
   save_phase_field = true   // save phase field within SILO database
   save_pressure = true      // save pressure field within SILO database
   save_velocity = true      // save velocity field within SILO database
}
FlowAdaptor {
}
Thank you for your answer.

TEST_ARTIFICIAL_PM_OPT_FLOW_XX_Water_Solid_100000
TEST_ARTIFICIAL_PM_OPT_FLOW_XX_Water_100000
TEST_ARTIFICIAL_PM_OPT_FLOW_XX_RANDOM_Water_Solid_100000
TEST_ARTIFICIAL_PM_OPT_FLOW_XX_RANDOM_Water_100000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions