diff --git a/cpu/MixedGradient.cpp b/cpu/MixedGradient.cpp index 841dbdf1..b5b18694 100644 --- a/cpu/MixedGradient.cpp +++ b/cpu/MixedGradient.cpp @@ -7,7 +7,7 @@ extern "C" void ScaLBL_D3Q19_MixedGradient(int *Map, double *Phi, double *Gradie {1,0,1},{-1,0,-1},{1,0,-1},{-1,0,1}, {0,1,1},{0,-1,-1},{0,1,-1},{0,-1,1}}; - int i,j,k,n,N; + int i,j,k,n; int np,np2,nm; // neighbors double v,vp,vp2,vm; // values at neighbors double grad; diff --git a/example/Bubble/input.db b/example/Bubble/input.db index e149b027..dd6d956b 100644 --- a/example/Bubble/input.db +++ b/example/Bubble/input.db @@ -12,6 +12,22 @@ Color { ComponentAffinity = -1.0, 1.0, -1.0 } +FreeLee { + tauA = 1.0; + tauB = 1.0; + tauM = 1.0;//relaxation parameter for the phase field + rhoA = 1.0; + rhoB = 1.0; + gamma = 1.0e-4;//surface tension parameter in Lee model + W = 3.0; //theoretical interfacial thickness in Lee model; unit:[voxel] + F = 0, 0, 0 + Restart = false + timestepMax = 1000 + flux = 0.0 + ComponentLabels = 0 + ComponentAffinity = -1.0 +} + Domain { nproc = 1, 1, 1 // Number of processors (Npx,Npy,Npz) n = 80, 80, 80 // Size of local domain (Nx,Ny,Nz) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 44f869bf..320de0a6 100755 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -62,7 +62,7 @@ ADD_LBPM_TEST( TestMap ) ADD_LBPM_TEST( TestWideHalo ) ADD_LBPM_TEST( TestColorGradDFH ) ADD_LBPM_TEST( TestBubbleDFH ../example/Bubble/input.db) -ADD_LBPM_TEST( testGlobalMassFreeLee ../example/Bubble/input.db) +#ADD_LBPM_TEST( testGlobalMassFreeLee ../example/Bubble/input.db) #ADD_LBPM_TEST( TestColorMassBounceback ../example/Bubble/input.db) ADD_LBPM_TEST( TestPressVel ../example/Bubble/input.db) ADD_LBPM_TEST( TestPoiseuille ../example/Piston/poiseuille.db)