Hello,
I can run successfuly the testcases proposed in implicit/2p, but those from
multidomain directory do not run. The error given by the multidomain run is in
the attached file. I can't trace this error message, but I guess that it comes
from Boost::FUSION library, which is required explicitly by multidomain module.
Regarding the Boost::Fusion module, I notices that the Boost flags are
different in the files
dune-common/cmake/modules/FindBoostFusion.cmakeuses the flag BOOST_FOUND
dune-common/cmake/modules/DuneBoost.cmake uses the flag Boost_FOUND
Fixing this difference, the compiler finds the Fusion library
-- Boost version: 1.57.0
-- Checking whether the Boost::FUSION library is available.
-- Performing Test HAVE_BOOST_FUSION
-- Performing Test HAVE_BOOST_FUSION - Success
-- Boost::FUSION is available
but BoostFusion is still in the list of The following OPTIONAL packages have
not been found:. Can be this the reason for the failure of multidomain
testcase?
Thank you in advance,
Calin
-Original Message-
From: Dan, Calin-Marius
Sent: Freitag, 17. April 2015 16:53
To: DuMuX User Forum
Subject: RE: [DuMuX] dunecontrol options file - example
Hello Christoph,
Thank you for explanations, it compiles now! I have another problem with
Boost::Fusion needed by dune-multidomaingrid. I have installed boost_1.5[7,8],
both contain the Fusion libraries in boost_1_5?_0/include/boost/fusion During
the compilation, it finds boost, but it does not check for Fusion:
-- Boost version: 1.58.0
-- Skipping check for Boost::FUSION as Boost is not available.
I attached the compilation outputs. Do you have any idea what could be wrong?
regards,
calin
-Original Message-
From: Dumux [mailto:dumux-boun...@listserv.uni-stuttgart.de] On Behalf Of
Christoph GrĂ¼ninger
Sent: Freitag, 17. April 2015 11:27
To: dumux@listserv.uni-stuttgart.de
Subject: Re: [DuMuX] dunecontrol options file - example
Hi Calin,
I assume you use DuMuX 2.7 where we provide opts files for CMake.
Unfortunately I forgot to add USE_CMAKE=1 in them.
1. You can use the CMAKE_PREFIX_PATH as described in [1].
2. Alternatively you can set -DSUPERLU_ROOT and -DUG_ROOT.
Bye
Christoph
[1]
http://users.dune-project.org/projects/main-wiki/wiki/Using_cmake_to_build_your_DUNE_project
--
People who are more than casually interested in computers should have at least
some idea of what the underlying hardware is like. Otherwise
the programs they write will be pretty weird. -- Donald Knuth
No parameter file given.
Defaulting to './test_2cstokes2p2c.input' for input file.
Starting with timestep size = 0.5s, simulation end = 7200s
YaspGridParameterBlock: Parameter 'overlap' not specified, defaulting to '0'.
rglobal = 0 0.25, rlocal = 0 0.5
lengthLeft = 0, lengthRight = 1, hLeft = 0.033, hRight = 0.033, nLeft =
0, nRight = 30
lengthLeft = 0.5, lengthRight = 0.5, hLeft = 0.0015046, hRight = 0.0015046,
nLeft = 31, nRight = 31
ParameterNewtonRelTol= , 1e-05
=
Dune::mdgrid::subdomain::SubDomainGridDune::mdgrid::MultiDomainGridDune::UGGrid2,
Dune::mdgrid::FewSubDomainsTraits2, 4ul, Dune::mdgrid::AllCodims (dim=2,
dimworld=2)
level 0 codim[0]=930 codim[1]=1921 codim[2]=992
leafcodim[0]=930 codim[1]=1921 codim[2]=992
leaf dim=2 geomTypes=((cube, 2)[0]=930,(simplex, 1)[1]=1921,(simplex, 0)[2]=992)
=
Dune::mdgrid::subdomain::SubDomainGridDune::mdgrid::MultiDomainGridDune::UGGrid2,
Dune::mdgrid::FewSubDomainsTraits2, 4ul, Dune::mdgrid::AllCodims (dim=2,
dimworld=2)
level 0 codim[0]=930 codim[1]=1921 codim[2]=992
leafcodim[0]=930 codim[1]=1921 codim[2]=992
leaf dim=2 geomTypes=((cube, 2)[0]=930,(simplex, 1)[1]=1921,(simplex, 0)[2]=992)
Using fast H2O-Air fluid system
# Run-time specified parameters:
[ FreeFlow ]
RefMassfrac = 0.008
RefPressure = 1e5
RefTemperature = 298.15
RefVelocity = 3.5
SinusConcentrationAmplitude = 0.0
SinusConcentrationPeriod = 3600
SinusPressureAmplitude = 0.0
SinusPressurePeriod = 3600
SinusTemperatureAmplitude = 0.0
SinusTemperaturePeriod = 3600
SinusVelAmplitude = 0.0
SinusVelPeriod = 3600
[ Grid ]
CellsX = 30
CellsY = 62
File = grids/interfacedomain.dgf
GradingFactorY = 1.13
InterfacePosY = 0.25
NoDarcyX = 0.0
RunUpDistanceX = 0.0
UseInterfaceMeshCreator = true
XMax = 0.25
XMin = 0.0
YMax = 0.5
YMin = 0.0
[ Newton ]
MaxRelativeShift = 1e-5
MaxSteps = 12
TargetSteps = 8
[ Output ]
FreqFluxOutput = 1000
FreqMassOutput = 2
FreqOutput = 50
FreqRestart = 1000
FreqVaporFluxOutput = 2
[ PorousMedium ]
InitialSw = 0.98
RefPressure = 1e5
RefTemperature = 298.15
[ SpatialParams ]
AlphaBJ = 1.0
LambdaSolid = 5.3
Permeability = 2.65e-10
Porosity = 0.41
Snr = 0.01
Swr = 0.005
VgAlpha = 6.371e-4
VgN = 6.9
[ Stokes ]
StabilizationAlpha = -1.0
[ TimeManager ]
DtInitial = 5e-1
EpisodeLength = 3600
InitTime = 0
TEnd = 7200
# Compile-time specified parameters:
[ Implicit ]
EnableHints = 0
EnableJacobianRecycling = 0
EnablePartialReassemble = 0
MassUpwindWeight = 1
NumericDifferenceMethod