yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11628
[Branch ~yade-pkg/yade/git-trunk] Rev 3527: minor changes in DFN Flow
------------------------------------------------------------
revno: 3527
committer: Luc Scholtes <lscholtes63@xxxxxxxxx>
timestamp: Fri 2014-11-07 15:26:52 +0100
message:
minor changes in DFN Flow
modified:
pkg/pfv/DFNFlow.cpp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/pfv/DFNFlow.cpp'
--- pkg/pfv/DFNFlow.cpp 2014-11-05 15:08:12 +0000
+++ pkg/pfv/DFNFlow.cpp 2014-11-07 14:26:52 +0000
@@ -13,7 +13,7 @@
//keep this #ifdef for commited versions unless you really have stable version that should be compiled by default
//it will save compilation time for everyone else
//when you want it compiled, you can pass -DDFNFLOW to cmake, or just uncomment the following line
-// #define DFNFLOW
+#define DFNFLOW
#ifdef DFNFLOW
#include "FlowEngine_DFNFlowEngineT.hpp"
@@ -231,6 +231,8 @@
// Real residualAperture = jointResidual;
// cout<<"residual aperture = " << residualAperture <<endl;
+ if (!jcfpmphys->isOnJoint && jcfpmphys->crackJointAperture<=0) continue; // avoid trick permeability for closed induced crack (permeability=matrix permeability)
+
Real aperture = jcfpmphys->crackJointAperture;
// cout<<"aperture = " << aperture <<endl;