Commit Graph

311 Commits

Author SHA1 Message Date
James E McClure
820a64c4ca Enforcing mass conservation for opposing components in reservoir 2018-03-19 11:00:59 -04:00
James E McClure
b64ceccc6b Fixed unitialized value 2018-01-26 14:49:32 -05:00
James E McClure
5cd7a08c2d Pressure refactor 2018-01-26 10:30:56 -05:00
James E McClure
502c82b3b8 Pressure refactor 2018-01-26 10:28:58 -05:00
James E McClure
73dfa1fb7c Pressure refactor 2018-01-26 10:26:18 -05:00
James E McClure
931ae3aab9 Updated ScaLBL_D3Q19_Pressure 2018-01-26 10:19:37 -05:00
James E McClure
5ce47ab205 Rewrote gpu and cpu with contents from ScaLBL (AA refactor) 2018-01-24 10:08:43 -05:00
Rex Zhe Li
568535965f fix asymmetry due to D3Q7 receive function 2018-01-24 19:17:13 +11:00
James E McClure
1087e330e1 Updated D3Q19 flux bc 2018-01-13 09:54:19 -05:00
James E McClure
f6409db196 Fixed merge conflict in D3Q19.xx 2018-01-13 09:43:20 -05:00
James E McClure
67a775d660 Fixed bug in pressure BC 2018-01-13 09:40:33 -05:00
James E McClure
8b8415a5c4 getting ready to merge RexFlux 2017-12-20 15:07:15 -05:00
James E McClure
a9dda36754 Re-factored flux BC - volumetric flux over boundary should be entered instead of the mean boundary velocity 2017-12-19 16:43:34 -05:00
James E McClure
25c3b89abe re-factoring flux BC 2017-12-19 13:00:27 -05:00
James E McClure
bee3713349 remove .swp files 2017-12-06 12:33:32 -05:00
Rex Zhe Li
def329a849 correct the signs of the loaded velocity profiles, because the velocity calculation function ScaLBL_D3Q19_Velocity() extracts the distribution functions from the opposite memory locations 2017-12-05 14:26:54 +11:00
Rex Zhe Li
48ec03362c Insert the velocity calculation function to update the velocity profiles after applying the boundary condition but before applying ScaLBL_Color_BC_z(Z) functions 2017-12-05 14:19:56 +11:00
James E McClure
1b8ceef7d8 Merge branch 'VariableDensity' 2017-12-01 11:50:27 -05:00
Rex Zhe Li
a932685d88 update the velocity BCs (for cpu) following Harting and Hecht approach 2017-11-30 18:06:03 +11:00
James E McClure
1dd592d48a Updated Color BC compiles cleanly 2017-11-27 07:45:51 -05:00
James E McClure
ea21a7ff86 Merge branch 'VariableDensity' of https://github.com/JamesEMcClure/LBPM-WIA into VariableDensity 2017-11-27 07:35:25 -05:00
James E McClure
0cc7c09619 fix to cpu/Color.cpp 2017-11-27 07:35:09 -05:00
James E McClure
87fffc8b0e 1st effot to fix color BC issue 2017-11-27 07:33:41 -05:00
James E McClure
ff31f21337 Compute velocity instead of momentum 2017-11-26 07:47:00 -05:00
James E McClure
53fbe986d6 Initial try at variable density 2017-11-25 15:17:20 -05:00
Rex Zhe Li
0efeda94cc fill zero velocity values for the solid nodes 2017-11-23 16:07:24 +11:00
Rex Zhe Li
9c7605403f D3Q19.cpp: for flux BC comment out the unncessary read of the distribution functions 2017-11-21 16:11:52 +11:00
James E McClure
becd898547 Fixed BC bug 2017-11-20 22:19:45 -05:00
James E McClure
6795ca86b4 fixing flux BC z 2017-11-19 14:21:46 -05:00
Mark Berrill
f4e0aca1c3 Fixing TestBubble and some memory leaks 2017-10-02 10:07:06 -04:00
James E McClure
d102150942 Added flux BC to LBPM-WIA 2017-09-18 05:55:34 -04:00
zherexli
add17ab75a fix a little bug on linear interpolation of two viscosities according to the local phase field 2017-08-30 22:06:01 +10:00
James E McClure
4acd3efafb lbpm_color_macro_simulator allows for viscosity ratio not equal to one 2017-02-15 16:38:44 -05:00
James E McClure
bba9e52911 Refactored LBPM-WIA to make calls consistent with ScaLBL library conventions 2016-11-24 11:26:51 -05:00
James E McClure
0815951952 refactoring scaLBL names for cpu/*cpp and gpu/*cu 2016-11-23 17:03:12 -05:00
James McClure
1cc1c82427 Fixed bugs in swap algorithm for D3Q19, checked D3Q7 also which I think was right 2016-07-25 11:09:05 -04:00
James McClure
f6a0d331be fixed bug in D3Q19 unpack routine 2016-07-25 10:34:50 -04:00
James E McClure
fa418c0850 Cleaning up warnings, fixin build 2016-01-10 11:30:13 -05:00
James E McClure
0fc44c315c Fixed typo in D3Q19.cpp / D3Q19.cu 2015-11-28 18:02:56 -05:00
James E McClure
1a037752cc Distributions within solid phase (not physically meaningful) are re-initialized in the ComputeVelocityD3Q19 routine to a negative value 2015-11-28 17:47:10 -05:00
Mark Berrill
a12e0ba7f1 Replacing MPI_COMM_WORLD with a passed communicator 2015-09-04 13:06:36 -04:00
Mark Berrill
4d48b3e80d Minor changes to help debug failed run 2015-09-01 21:51:41 -04:00
Mark Berrill
3f771d9374 Modifying analysis in lbpm_color_simulator to run in seperate threads 2015-08-22 11:03:46 -04:00
Mark Berrill
97bff08872 Changing the algorithm when computing the local ids 2015-08-14 14:59:36 -04:00
James E McClure
b9b4301eac Setting layer for the velocity boundary condition -- mass part will bounce back 2015-07-19 12:08:40 -04:00
James E McClure
b48a17516d Added velocity boundary condition for D3Q19 distribution to project 2015-07-18 16:01:14 -04:00
James E McClure
732a1c1beb Found a bug in cpu/Color.cpp -- this should work well! 2015-07-04 13:04:54 -04:00
James E McClure
0eb4221b57 don't compute density inside solid (just reverting a debugging change) 2015-07-04 11:29:15 -04:00
James E McClure
d6cf96f24c Finished refactoring MassColorCollideD3Q7 2015-07-04 09:55:50 -04:00
James E McClure
252fdecdc1 Fixed a bug in the initialization of D3Q7 distributions 2015-07-04 09:40:48 -04:00
James E McClure
6d04a527fb Trying to figure out of density solution is correct next to solid 2015-07-04 09:25:33 -04:00
James E McClure
162a8920c8 Refactored cpu/Colo.cpp for MassD3Q7 2015-07-04 08:50:25 -04:00
James McClure
16aa6838cc Trying to resolve difference between solution of CPU and GPU color model 2015-07-03 18:44:55 -04:00
James E McClure
ade1e8fb69 Cleaning up Color/D3Q7 .cu/.cpp 2015-06-30 15:35:55 -04:00
James E McClure
08e14cc261 Cleaning up Color.cu/.cpp 2015-06-30 15:12:56 -04:00
James E McClure
6414325ab2 Refactored cpu/gpu headers into common/ScaLBL.h to prevent divergence of conventions 2015-06-30 11:33:27 -04:00
James E McClure
72563f9030 adding changes to cpu version cpu/Color.cpp 2015-06-27 11:42:17 -04:00
James E McClure
f96e8b8a5c Refactoring MassColorCollideD3Q7 (cpu/gpu) 2015-06-24 19:11:50 -04:00
James E McClure
2e4822385a Refactoring MassColorCollideD3Q7 (cpu/gpu) 2015-06-24 18:17:31 -04:00
James
e0064e5240 Removed extra line from gpu/ScaLBL.h 2015-06-24 16:45:38 -04:00
James E McClure
2ca2203a3c updates to ScaLBL.h 2015-06-16 17:36:26 -04:00
James E McClure
f355c13f15 Found the bug in lbpm_permeability_simulator and it was dumb 2015-06-16 13:40:16 -04:00
James E McClure
02fc451ea3 Weird bug 2015-06-16 09:20:42 -04:00
James E McClure
c5acf631a7 Compiling version 2015-06-15 22:42:53 -04:00
James E McClure
054697dd37 Matching ScaLBL.h 2015-06-15 22:22:39 -04:00
James E McClure
61b8048d42 Update to get the code to compile again 2015-06-15 22:20:41 -04:00
James E McClure
1f8a610143 added cpu/MRT.cpp 2015-06-15 21:56:46 -04:00
James E McClure
7e662dc435 Revisions to ScaLBL.h 2015-06-15 21:45:51 -04:00
James E McClure
d28d4c7377 Adding permeability simulator 2015-06-15 21:37:07 -04:00
Mark Berrill
3c6732d03e Fixing compile error on platforms/filesystems that are case insensitive (MAC) due to MPI.h including mpi.h which included itself rather than including mpi 2015-02-02 12:01:32 -05:00
James McClure
83c6370749 Testing equilibrium function for D3Q7 ADE 2014-11-08 10:36:14 -05:00
James E McClure
dabe0e3f2c Removed stray file cpu/lb2_Color_wia_mpi.cpp 2014-10-26 14:13:02 -04:00
James McClure
5a83c9608d Updated cpu/D3Q19.cpp criteria for unpacking negative distributions causes problems 2014-08-16 09:40:09 -04:00
James McClure
c421d1f6f0 Updated D3Q19 UnpackDist() routine so that values are not unpacked into the solid 2014-08-10 11:01:07 -04:00
James McClure
cc6ec0ca2f Updated D3Q19 UnpackDist() routine so that values are not unpacked into the solid 2014-08-10 10:19:32 -04:00
James McClure
64a2107cf5 Removed warning messages from cpu/D3Q7.cpp based on PGI compiler on Eos 2014-08-09 13:30:22 -04:00
James E McClure
40226e59d7 Merge branch 'master' of github.com:JamesEMcClure/LBPM-WIA 2014-06-25 12:36:34 -04:00
James McClure
284150e770 Fixed bug in Stokes flow option just added to cpu/Color.cpp (not in gpu library yet) 2014-06-22 18:32:07 -04:00
James McClure
c57f59adaa Added a stokes flow option 2014-06-22 18:24:31 -04:00
James E McClure
214150c870 Merge branch 'thermal' of github.com:JamesEMcClure/LBPM-WIA 2014-06-11 17:16:02 -04:00
James McClure
306b31e0a2 minor change to cpu/thermal.cpp 2014-06-11 13:52:51 -04:00
James McClure
26edf80704 edited cpu/Color.cpp 2014-06-01 09:18:34 -04:00
James McClure
14aa46ee5f tweak to cpu/Color.cpp 2014-06-01 09:02:22 -04:00
James McClure
9383ffb106 created files to contain thermal LBM 2014-05-24 13:29:32 -04:00
James McClure
7910614d09 Updated cpu/Color.cpp to match gpu/Color.cu for relaxation process 2014-04-08 06:49:07 -04:00
James McClure
c205710777 Tweaked equilibrium moment coefficients in Color.cpp 2014-03-19 16:24:56 -04:00
James E McClure
78a2c7a7f2 Refactored cpu/Extras.cpp 2014-03-19 09:31:37 -04:00
James E McClure
05bbbd3e5d Refactored cpu branch 2014-03-19 09:22:50 -04:00
James E McClure
d9e42aa064 Refactored lb2_Color_wia_mpi.cpp 2014-03-19 09:14:26 -04:00
James McClure
af94559c0a Non-dimensional specific areas and common line length now added. Sauter mean diameter computed from sphere packing. 2014-03-16 17:52:09 -04:00
James McClure
0d846afc4f Eliminating number of sweeps - forgot to remove S 2014-03-11 16:06:54 -04:00
James McClure
69d1e45c4f Removed the number of sweeps S from cpu code 2014-03-11 15:55:39 -04:00
James McClure
e27014c1bf Fixed issue with pressure BC 2014-03-06 15:47:16 -05:00
James McClure
81764dfd3f Validated Bubble Test 2014-03-06 12:50:13 -05:00
James McClure
106e2dd110 Added the bubble test 2014-03-05 16:00:43 -05:00
James McClure
7b9361648e Updated solid boundary condition for contact angle 2014-03-05 10:44:27 -05:00
James McClure
c2e591fac9 Updated D3Q7 lattice functions 2014-02-21 10:39:01 -05:00
James McClure
8f466a37b5 Moved pressure BC out of lb2_Color_wia_mpi.cpp and into libraries 2014-02-20 19:58:45 -05:00
James McClure
35406aa638 Cleaned up revised communcation 2014-02-14 09:31:09 -05:00
James McClure
8f64568c6d Updated communication and added pressure BC 2014-02-13 22:57:44 -05:00
Mark Berrill
394e29754c Removing some binary files 2014-02-01 10:37:00 -05:00
Mark Berrill
00f8e32c2f Moving some files for CMake 2014-01-28 14:57:05 -05:00
Mark Berrill
d6caa81ceb Adding files that I forgot 2014-01-28 14:05:05 -05:00
Mark Berrill
e9513a6d8b Merging changes from master. Fixing CMake bugs with cpu only. 2014-01-28 14:02:54 -05:00
James McClure
0e2089e37f Deleted .cu files from cpu directory 2014-01-28 13:39:08 -05:00
Mark Berrill
df295faa84 Merge branch 'master' into cmake 2014-01-28 13:29:55 -05:00
James McClure
cffb54b9c5 updated CPU branch a second time 2014-01-27 11:51:18 -05:00
James McClure
42338802c5 Updated CPU branch 2014-01-27 11:43:24 -05:00
Mark Berrill
0430704252 Created prelimary cmake build 2013-12-05 11:43:40 -05:00
James McClure
7b4d68c23a Updated .gitignore to exclude files 2013-08-28 09:50:00 -04:00
James E McClure
438f075331 CPU and GPU versions without averaging tools, examples for each case using 8 MPI processes, currently set up for HokieSpeed supercomputing cluster 2013-08-26 15:12:25 -04:00