treenabled term with dphi - sphere - GPU-based 3D discrete element method algor… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 1e3272182b4e8a3a6dbcb4988721d67853ef0281 | |
parent d89d5c088a5e20793e75c9faad8591c3ae93903f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 22 Apr 2014 12:53:04 +0200 | |
reenabled term with dphi | |
Diffstat: | |
M src/navierstokes.cuh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh | |
t@@ -1813,7 +1813,7 @@ __global__ void findNSforcing( | |
//f1 = 0.0; | |
f1 = div_v_p*devC_params.rho_f/devC_dt | |
+ dot(grad_phi, v_p)*devC_params.rho_f/(devC_dt*phi) | |
- + 0.0*dphi*devC_params.rho_f/(devC_dt*devC_dt*phi); | |
+ + dphi*devC_params.rho_f/(devC_dt*devC_dt*phi); | |
f2 = grad_phi/phi; | |
// Report values terms in the forcing function for debugging |