Skip to content
Snippets Groups Projects
Commit fb278ba7 authored by podlesny's avatar podlesny
Browse files

remove debug print, towards production

parent a446694e
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ class HDF5Writer { ...@@ -48,7 +48,7 @@ class HDF5Writer {
Vector mortarV; Vector mortarV;
contactNetwork.nBodyAssembler().nodalToTransformed(programState.v, mortarV); contactNetwork.nBodyAssembler().nodalToTransformed(programState.v, mortarV);
printRegularityTruncation(friction, mortarV); //printRegularityTruncation(friction, mortarV);
std::vector<Vector> v_rel; std::vector<Vector> v_rel;
split(mortarV, v_rel); split(mortarV, v_rel);
......
...@@ -152,9 +152,9 @@ FixedPointIterator<Factory, NBodyAssembler, Updaters, ErrorNorms>::run( ...@@ -152,9 +152,9 @@ FixedPointIterator<Factory, NBodyAssembler, Updaters, ErrorNorms>::run(
nBodyAssembler_.postprocess(total_v, velocityIterates); nBodyAssembler_.postprocess(total_v, velocityIterates);
//Rprint(velocityIterates, "velocityIterates loop:"); //Rprint(velocityIterates, "velocityIterates loop:");
updaters.rate_->postProcess(velocityIterates); updaters.rate_->postProcess(velocityIterates);
bool breakCriterion = true; //displacementCriterion(updaters, last_u); //stateCriterion(alpha, newAlpha); bool breakCriterion = displacementCriterion(updaters, last_u); //displacementCriterion(updaters, last_u); //stateCriterion(alpha, newAlpha);
printRegularityTruncation(globalFriction_, total_v); //printRegularityTruncation(globalFriction_, total_v);
if (lambda_ < 1e-12 or breakCriterion) { if (lambda_ < 1e-12 or breakCriterion) {
fixedPointIteration++; fixedPointIteration++;
......
...@@ -52,7 +52,7 @@ class Linearization { ...@@ -52,7 +52,7 @@ class Linearization {
} }
} }
std::cout << "regularityTruncation: " << count << std::endl; //std::cout << "regularityTruncation: " << count << std::endl;
} }
template<class NV, class NBV, class T> template<class NV, class NBV, class T>
......
# -*- mode:conf -*- # -*- mode:conf -*-
[general] [general]
outPath = friction-0.6 # output written to ./output/outPath outPath = pipping-2013-euler # output written to ./output/outPath
gravity = 9.81 # [m/s^2] gravity = 9.81 # [m/s^2]
[body0] [body0]
length = 6.0 # [m] length = 6.0 # [m]
height = 1.0 # [m] height = 1.0 # [m]
bulkModulus = 0.0 #4.12e9 # [Pa] #2190 bulkModulus = 0.0 # 4.12e7 #4.12e9 # [Pa] #2190
poissonRatio = 0.0 #0.3 # [1] #0.11 poissonRatio = 0.0 #0.3 # [1] #0.11
[body0.elastic] [body0.elastic]
density = 5e3 # [kg/m^3] #750 density = 5e3 # [kg/m^3] #750
...@@ -52,7 +52,7 @@ b = 0.015 # [ ] ...@@ -52,7 +52,7 @@ b = 0.015 # [ ]
sigmaN = 0.0 # [Pa] sigmaN = 0.0 # [Pa]
[boundary.dirichlet] [boundary.dirichlet]
finalVelocity = 2e-3 #2e-4 # [m/s] finalVelocity = 2e-4 # [m/s]
[io] [io]
data.write = true data.write = true
...@@ -69,11 +69,11 @@ bodyCount = 2 ...@@ -69,11 +69,11 @@ bodyCount = 2
[initialTime] [initialTime]
timeStep = 0 timeStep = 0
relativeTime = 0.0 relativeTime = 0.0
relativeTau = 5e-4 # 1e-6 relativeTau = 1e-4 # 1e-6
[timeSteps] [timeSteps]
scheme = newmark scheme = backwardEuler # newmark
timeSteps = 2e3 timeSteps = 1e4
[u0.solver] [u0.solver]
maximumIterations = 100 maximumIterations = 100
......
...@@ -27,6 +27,7 @@ set(STRIKESLIP_SOURCE_FILES ...@@ -27,6 +27,7 @@ set(STRIKESLIP_SOURCE_FILES
../../dune/tectonic/time-stepping/rate.cc ../../dune/tectonic/time-stepping/rate.cc
../../dune/tectonic/time-stepping/rate/rateupdater.cc ../../dune/tectonic/time-stepping/rate/rateupdater.cc
../../dune/tectonic/time-stepping/state.cc ../../dune/tectonic/time-stepping/state.cc
../../dune/tectonic/time-stepping/uniformtimestepper.cc
strikeslip.cc strikeslip.cc
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment