opm-polymer's People
Forkers
atgeirr xavierr hnil akva2 rolk qilicun joakim-hove bska yhappy1129 flikka vkip gitpaean sommeryw chflo edbru totto82 opensim-technology erabdelfatah mahg afcolgaopm-polymer's Issues
Compile erros
I was trying to compile OPM-POLYMER and got the following errors, it seems these errors came from opm-autodiff, while the opm-autodiff module has been complied successfully.
[ 5%] Patching Makefile to be DUNE compatible
[ 5%] Built target dune-compat
[ 10%] Updating version information
[ 10%] Built target update-version
[ 70%] Built target opmpolymer
[ 75%] Building CXX object CMakeFiles/flow_polymer.dir/examples/flow_polymer.cpp.o
/home/yz7609/Downloads/opm-polymer/examples/flow_polymer.cpp: In function ‘int main(int, char**)’:
/home/yz7609/Downloads/opm-polymer/examples/flow_polymer.cpp:164:47: error: no matching function for call to ‘Opm::BlackoilOutputWriter::BlackoilOutputWriter(const UnstructuredGrid&, Opm::parameter::ParameterGroup&, std::shared_ptr<Opm::EclipseState>&, const Opm::PhaseUsage&)’
/home/yz7609/Downloads/opm-polymer/examples/flow_polymer.cpp:164:47: note: candidate is:
/usr/local/include/opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp:188:9: note: template<class Grid> Opm::BlackoilOutputWriter::BlackoilOutputWriter(const Grid&, const Opm::parameter::ParameterGroup&, Opm::DeckConstPtr, Opm::EclipseStateConstPtr, const Opm::PhaseUsage&)
make[2]: *** [CMakeFiles/flow_polymer.dir/examples/flow_polymer.cpp.o] Error 1
make[1]: *** [CMakeFiles/flow_polymer.dir/all] Error 2
make: *** [all] Error 2
Many thanks if anyone could help me out.
Best wishes
Yingfang
Blindly assuming opm-autodiff supports cpgrid
In opm-autodiff, certain symbols are compiled depending on whether or not dune-cornerpoint is available (UgHelpers stuff). the examples here blindly use these functions (which should not have been prototyped in the first place, but that's another issue..) and thus you get very cryptic linker error.
Dead-symbol pruning hides the issue with static libs thus most never see this.
not really a show stopper as such, but figured it was worth documenting.
HEAD fails to compile
current HEAD (be617bb) fails to compile with opm-core HEAD (80a084e0cbd2e418f4250d5737ba891f5a48c06e)
opm/polymer/SimulatorCompressiblePolymer.cpp: In member function 'Opm::SimulatorReport Opm::SimulatorCompressiblePolymer::Impl::run(Opm::SimulatorTimer&, Opm::PolymerBlackoilState&, Opm::WellState&)':
opm/polymer/SimulatorCompressiblePolymer.cpp:387:82: error: invalid initialization of reference of type 'const UnstructuredGrid&' from expression of type 'const Opm::BlackoilPropertiesInterface'
/usr/include/opm/core/utility/miscUtilities.hpp:174:10: error: in passing argument 1 of 'void Opm::computeTransportSource(const UnstructuredGrid&, const std::vector&, const std::vector&, double, const Wells*, const std::vector&, std::vector&)
Eigen not found if autoinstalled Eigen is used.
CI get the following error when trying to compile opm-polymer:
opm-autodiff/opm/autodiff/AutoDiffBlock.hpp:25:23: fatal error: Eigen/Eigen: No such file or directory
#include<Eigen/Eigen>
Creating the corresponding link to opm-autodiff/eigen3-installed/include/eigen3/Eigen/
helps but is probably not the intended solution.
Generate loops for polymer flooding
I was trying to generate python loops for polymer flooding as that for water flooding model, while it seems this version is not capble to do that. Please could you advise me how to generate loops for polymer flooding senstive study.
Best wishes
Yingfang
CPR implementation for fully implicit polymer sim (flow_polymer)
Currently, the simulator simply fails if trying to run it with use_cpr=true (which is the default). The simulator really needs a CPR implementation to be able to run cases with a few thousand cells or more in reasonable time, so it needs to be in for any realistic case to be run.
include <Eigen/Eigen> couldn't be located
yz7609@ese-zhou:~/OPM/opm-polymer-build$ make
[ 5%] Patching Makefile to be DUNE compatible
[ 5%] Built target dune-compat
[ 10%] Updating version information
[ 10%] Built target update-version
[ 15%] Building CXX object CMakeFiles/opmpolymer.dir/opm/polymer/fullyimplicit/PolymerPropsAd.cpp.o
In file included from /home/yz7609/opm-polymer/opm/polymer/fullyimplicit/PolymerPropsAd.cpp:24:0:
/usr/local/include/opm/autodiff/AutoDiffBlock.hpp:25:23: fatal error: Eigen/Eigen: No such file or directory
#include <Eigen/Eigen>
^
compilation terminated.
make[2]: *** [CMakeFiles/opmpolymer.dir/opm/polymer/fullyimplicit/PolymerPropsAd.cpp.o] Error 1
make[1]: *** [CMakeFiles/opmpolymer.dir/all] Error 2
make: *** [all] Error 2
Any suggestion on this issue?
Create cmake build system
We need to make this library build with cmake.
polymerUtilities.cpp
line 160: props.viscosity(num_phases, &p[0], &z[0], &cells[0], &mu[0], 0);
Should probably be:
props.viscosity(num_cells, ...
output setting
Hi,
If I inject polymer use
WPOLYMER
at time n, the watercut.txt does not include the value of 1-(n-1) time step.
That means when it start a new epoch, it will overwrite that file, this is not what I want.
Maybe the simulator in opm core has the same bugs, I don't test them at all.
Polymer test case fails
The case at https://github.com/OPM/opm-data/tree/master/polymer_test_suite/simple2D seems to fail now - see for example https://ci.opm-project.org/job/polymer-test-simple-2d/559/console
This seems to have started after the PR OPM/opm-simulators#536
Anyone that knows what's happening, and why?
Build errors
I just update all the models, when I build opm-polymer the following errors happened. Is there something changes not adapt to opm-polymer?
In file included from /home/liuming/Work/opm-polymer/opm/polymer/fullyimplicit/FullyImplicitCompressiblePolymerSolver.cpp:23:0:
/home/liuming/Work/opm-polymer/opm/polymer/fullyimplicit/FullyImplicitCompressiblePolymerSolver.hpp:92:17: error: ‘parameter’ does not name a type
typedef parameter::ParameterGroup SolverParameters;
^
make[2]: *** [CMakeFiles/opmpolymer.dir/opm/polymer/fullyimplicit/FullyImplicitCompressiblePolymerSolver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/opmpolymer.dir/all] Error 2
make: *** [all] Error 2
simulator threw exception due to keyword "PLYVISC"
I tried to run a polymer case with sim_poly2p_comp_reorder, and the simulator threw an exception:
Program threw an exception: The RawRecord for keyword "PLYVISC"
in file"POLY.inc" contained 2 too many items according to the
spec. RawRecord was: 0.0 1.0 1.25 30.0
terminate called after throwing an instance of 'std::invalid_argument'
Following is the PLYVISC
table in POLY.inc
PLYVISC
0.0 1.0
1.25 30.0 /
/
And the TABDIMS
TABDIMS
-- NTSFUN NTPVT NSSFUN NPPVT NTFIP NRPVT
1 1 100 50 1 /
opm-polymer does not compile/work with Dune 2.3
See http://opm-project.org/CDash/index.php?project=opm-polymer
Since Dune 2.3 is going to be released soon, this issue should be fixed before the OPM 2014.03 release...
Make a new branch for fully implicit solvers
Hi all,
As I said in the mail list, fully implicit solvers need opm-autodiff, so this needs some magic of cmake, before this can be done, I suggest make a new branch for fully implicit solvers, using this branch, I can post my code, everyone can have a look and give me feedback to improve my work. What's opinion on this?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.