[cig-commits] commit: Adding test for Simple Shear case

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:52 PST 2008


changeset:   82:c9a4bb550fe7
user:        RobertTurnbull
date:        Fri Mar 28 04:11:31 2008 +0000
files:       Apps/LidDrivenPIC/AnalyticShear.xml Apps/LidDrivenPIC/LidDrivenPIC.xml Apps/LidDrivenPIC/tests/expected/testSimpleShearPIC-Analytic-2D.0of1.VelocityField-ErrorFile.expected Apps/LidDrivenPIC/tests/testSimpleShearPIC-Analytic-2D.0of1.sh Apps/LidDrivenPIC/velocityBCs.shear.xml
description:
Adding test for Simple Shear case


diff -r 9fc5d1a76e48 -r c9a4bb550fe7 Apps/LidDrivenPIC/AnalyticShear.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Apps/LidDrivenPIC/AnalyticShear.xml	Fri Mar 28 04:11:31 2008 +0000
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!DOCTYPE StGermainData SYSTEM "stgermain.dtd">
+
+<StGermainData xmlns="http://www.vpac.org/StGermain/XML_IO_Handler/Jun2003">
+ 	
+	<include>./LidDrivenPIC.xml</include>
+	<include>./velocityBCs.shear.xml</include>
+	<list name="plugins">
+		<param>StgFEM_LinearVelocityAnalytic</param>
+	</list>
+	
+	<param name="VelocityField-Tolerance">1e-6</param>
+
+</StGermainData>
diff -r 9fc5d1a76e48 -r c9a4bb550fe7 Apps/LidDrivenPIC/LidDrivenPIC.xml
--- a/Apps/LidDrivenPIC/LidDrivenPIC.xml	Thu Mar 20 09:19:05 2008 +0000
+++ b/Apps/LidDrivenPIC/LidDrivenPIC.xml	Fri Mar 28 04:11:31 2008 +0000
@@ -43,15 +43,16 @@
 	<param name="journal.info.Context-verbose"> t </param>
 	<param name="journal-level.info.Stg_ComponentFactory"> 2 </param>
 	<param name="journal.debug">f</param>
-	<param name="journal-enable-branch.debug.StgFEM">f</param>
+	<param name="journal-enable-branch.debug.StgFEM">t</param>
 	<param name="journal-level-branch.debug.StgFEM"> 1 </param>
+	<param name="journal-level.debug.PeriodicBoundariesManager"> 3 </param>
 
 	<!-- Geometry & mesh setup -->
 	<param name="dim"> 2 </param>
 	<!-- Remember in StGermain these currently refer to _node_ counts rather than elements... -->
-	<param name="elementResI"> 7 </param>
-	<param name="elementResJ"> 7 </param>
-	<param name="elementResK"> 1 </param>
+	<param name="elementResI"> 20 </param>
+	<param name="elementResJ"> 20 </param>
+	<param name="elementResK"> 7 </param>
 	<param name="shadowDepth"> 1 </param>
 	<param name="minX"> 0.0 </param>
 	<param name="minY"> 0.0 </param>
diff -r 9fc5d1a76e48 -r c9a4bb550fe7 Apps/LidDrivenPIC/tests/expected/testSimpleShearPIC-Analytic-2D.0of1.VelocityField-ErrorFile.expected
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Apps/LidDrivenPIC/tests/expected/testSimpleShearPIC-Analytic-2D.0of1.VelocityField-ErrorFile.expected	Fri Mar 28 04:11:31 2008 +0000
@@ -0,0 +1,11 @@
+Timestep 0: Total integrated value of 'VelocityField-ErrorMagnitudeField' is outside a tolerance 1e-06.
+Timestep 1: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 2: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 3: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 4: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 5: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 6: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 7: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 8: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 9: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
+Timestep 10: Total integrated value of 'VelocityField-ErrorMagnitudeField' is within a tolerance 1e-06.
diff -r 9fc5d1a76e48 -r c9a4bb550fe7 Apps/LidDrivenPIC/tests/testSimpleShearPIC-Analytic-2D.0of1.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Apps/LidDrivenPIC/tests/testSimpleShearPIC-Analytic-2D.0of1.sh	Fri Mar 28 04:11:31 2008 +0000
@@ -0,0 +1,52 @@
+#!/bin/sh
+##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+##
+## Copyright (C), 2003-2006, Victorian Partnership for Advanced Computing (VPAC) Ltd, 110 Victoria Street,
+##	Melbourne, 3053, Australia.
+## Copyright (c) 2005-2006, Monash Cluster Computing, Building 28, Monash University Clayton Campus,
+##	Victoria, 3800, Australia
+##
+## Primary Contributing Organisations:
+##	Victorian Partnership for Advanced Computing Ltd, Computational Software Development - http://csd.vpac.org
+##	Australian Computational Earth Systems Simulator - http://www.access.edu.au
+##	Monash Cluster Computing - http://www.mcc.monash.edu.au
+##
+## Contributors:
+##	Robert Turnbull, Research Assistant, Monash University. (robert.turnbull at sci.monash.edu.au)
+##	Patrick D. Sunter, Software Engineer, VPAC. (patrick at vpac.org)
+##	Alan H. Lo, Computational Engineer, VPAC. (alan at vpac.org)
+##	Stevan M. Quenette, Senior Software Engineer, VPAC. (steve at vpac.org)
+##	David May, PhD Student, Monash University (david.may at sci.monash.edu.au)
+##	Vincent Lemiale, Postdoctoral Fellow, Monash University. (vincent.lemiale at sci.monash.edu.au)
+##	Julian Giordani, Research Assistant, Monash University. (julian.giordani at sci.monash.edu.au)
+##	Louis Moresi, Associate Professor, Monash University. (louis.moresi at sci.monash.edu.au)
+##	Luke J. Hodkinson, Computational Engineer, VPAC. (lhodkins at vpac.org)
+##	Raquibul Hassan, Computational Engineer, VPAC. (raq at vpac.org)
+##	David Stegman, Postdoctoral Fellow, Monash University. (david.stegman at sci.monash.edu.au)
+##	Wendy Sharples, PhD Student, Monash University (wendy.sharples at sci.monash.edu.au)
+##
+##  This library is free software; you can redistribute it and/or
+##  modify it under the terms of the GNU Lesser General Public
+##  License as published by the Free Software Foundation; either
+##  version 2.1 of the License, or (at your option) any later version.
+##
+##  This library is distributed in the hope that it will be useful,
+##  but WITHOUT ANY WARRANTY; without even the implied warranty of
+##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+##  Lesser General Public License for more details.
+##
+##  You should have received a copy of the GNU Lesser General Public
+##  License along with this library; if not, write to the Free Software
+##  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+##
+## $Id: testLidDrivenPIC-Analytic-2D.0of1.sh 504 2007-08-05 09:48:58Z SteveQuenette $
+##
+##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTestStdLocations "StGermain ../AnalyticShear.xml --maxTimeSteps=10" "$0" "$@"
diff -r 9fc5d1a76e48 -r c9a4bb550fe7 Apps/LidDrivenPIC/velocityBCs.shear.xml
--- a/Apps/LidDrivenPIC/velocityBCs.shear.xml	Thu Mar 20 09:19:05 2008 +0000
+++ b/Apps/LidDrivenPIC/velocityBCs.shear.xml	Fri Mar 28 04:11:31 2008 +0000
@@ -4,9 +4,9 @@
 <!-- DTD to validate against -->
 <StGermainData xmlns="http://www.vpac.org/StGermain/XML_IO_Handler/Jun2003">
 	<!-- Periodic boundary conditions -->
-	<include>StgFEM/PeriodicVelocityX3D.xml</include>
+	<include>StgFEM/PeriodicX.xml</include>
 	<include>PICellerator/PeriodicBCsManager.I_AXIS.xml</include>
-
+	
 	<!-- Velocity BCs -->
 	<struct name="velocityBCs" mergeType="replace">
 		<param name="type">CompositeVC</param>



More information about the CIG-COMMITS mailing list