how can i use FlowEngine to simulate fully saturated matarials?

Asked by Christian Jakob

Hi,

I recognized, that there is a FlowEngine in Yade. There is no entry in documentation and I cannot call it with

O.engines=[
 ...
 FlowEngine()
]

Is it yet available for testing? And if yes, how can i use it?

Christian

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Jakob
Solved:
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

It is too early Christian, sorry.
Emanuele Catalano developed the coupling and just defended his PhD.
I'm currently working hard on it to.
In a few months probably, it will be released cleanly with associated doc.

Then you will be able to do something like that:
http://www.youtube.com/watch?v=gH585XaQEcY

:)

Bruno

On 06/07/12 09:31, Christian Jakob wrote:
> New question #202396 on Yade:
> https://answers.launchpad.net/yade/+question/202396
>
> Hi,
>
> I recognized, that there is a FlowEngine in Yade. There is no entry in documentation and I cannot call it with
>
> O.engines=[
> ...
> FlowEngine()
> ]
>
> Is it yet available for testing? And if yes, how can i use it?
>
> Christian
>

--
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________

Revision history for this message
Christian Jakob (jakob-ifgt) said :
#2

But I see the source code, it should be possible to compile/use it now, or?

Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#3

Yes, the code is available. You can try to compile/use already if you
are prepared for the hard way: no doc, no example script, no support.
With time, it will become easier.

Revision history for this message
Jérôme Duriez (jduriez) said :
#4

> no doc, no example script, no support

Yade as before !!! ;-)

Revision history for this message
Christian Jakob (jakob-ifgt) said :
#5

I am coming closer, but there is still a barrier:

cmake -DINSTALL_PREFIX=/home/me/YADE/YADE-flow-test/ /home/me/YADE/trunk-flow-test/

...

-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
-- Found Eigen2

...

-- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so
-- GMP libs: /usr/lib/libgmp.so /usr/lib/libgmpxx.so
-- Found CGAL
-- Found CHOLMOD
-- Found GL2PS

...

-- ===========================================================
-- Yade configured with following features: Eigen2 VTK OpenMP GTS GUI CGAL cholmod GL2PS
-- Disabled features:
-- Optimized build
-- ===========================================================
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
CAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
CCOLAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
COLAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test

-- Configuring incomplete, errors occurred!

I set some symbolic links, but the cmake error still occurs...

find /usr/lib -name *amd.so*

/usr/lib/libccolamd.so.2.7.1
/usr/lib/libcamd.so.2.2.0
/usr/lib/libamd.so.2.2.0
/usr/lib/libcamd.so
/usr/lib/libccolamd.so
/usr/lib/libcolamd.so.2.7.1
/usr/lib/libamd.so
/usr/lib/libcolamd.so

Revision history for this message
Anton Gladky (gladky-anton) said :
#6

As I remember (Bruno said), CHOLMOD requires eigen3, not eigen2.
It is mandatory.

Anton

Revision history for this message
Christian Jakob (jakob-ifgt) said :
#7

I installed libeigen3-dev, but:

-- Found Eigen3: /usr/include/eigen3
-- Found Eigen3

...

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
AMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
CAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
CCOLAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test
COLAMD_LIBRARY
    linked by target "core" in directory /home/me/YADE/trunk-flow-test
    linked by target "plugins" in directory /home/me/YADE/trunk-flow-test
    linked by target "support" in directory /home/me/YADE/trunk-flow-test

-- Configuring incomplete, errors occurred!

Revision history for this message
Christian Jakob (jakob-ifgt) said :
#8

Ok, now I got it.