[cig-commits] r15141 - mc/3D/CitcomS/trunk/CitcomS/Coupler

tan2 at geodynamics.org tan2 at geodynamics.org
Mon Jun 8 11:11:25 PDT 2009


Author: tan2
Date: 2009-06-08 11:11:24 -0700 (Mon, 08 Jun 2009)
New Revision: 15141

Modified:
   mc/3D/CitcomS/trunk/CitcomS/Coupler/EmbeddedCoupler.py
Log:
Added a safe guard


Modified: mc/3D/CitcomS/trunk/CitcomS/Coupler/EmbeddedCoupler.py
===================================================================
--- mc/3D/CitcomS/trunk/CitcomS/Coupler/EmbeddedCoupler.py	2009-06-08 17:00:54 UTC (rev 15140)
+++ mc/3D/CitcomS/trunk/CitcomS/Coupler/EmbeddedCoupler.py	2009-06-08 18:11:24 UTC (rev 15141)
@@ -52,6 +52,13 @@
         # otherwise, we have to stop
         assert solver.inventory.bc.inventory.side_sbcs == True, \
                'Error: esolver.bc.side_sbcs must be on!'
+
+        # XXX: model/Exchanger/AreaWeightedNormal.cc
+        # computeOutflow() and reduceOutflow() needs to be modified
+        # to support compressible flow
+        assert (not self.inventory.amending_outflow) or \
+               solver.inventory.gruneisen == 0, \
+               'Error, amending_outflow is not implemented for compressible flow!'
         return
 
 



More information about the CIG-COMMITS mailing list