Re: [Yade-users] [Question #652297]: Feng Chen's Yade-OpenFoam coupling model.

2017-08-08 Thread Feng Chen
Question #652297 on Yade changed:
https://answers.launchpad.net/yade/+question/652297

Feng Chen proposed the following answer:
Hi, Ed Carlos Alves Rocha:

The YADE-OpenFOAM example was posted around year 2009-2010 based on
YADE-0.11.1 which is a very old version and although some python
features were added to YADE, python was not supported during that time.
Due to personal schedule I was not able to keep that version up to date
with the yade main branch.

Basically, to reproduce that example, you will need to use yade-0.11.1
and OpenFOAM-1.4, although I believe you can still get these old
versions, it might be a bit difficult to get all things running (however
I can still help if you have specific errors).

A newer update for DEM-OpenFOAM is at https://launchpad.net/esysfoam, it
was not using YADE but ESyS-Paticle as the DEM simulator, there is also
build instructions posted on that site, basically repeating the same
seepage/consolidation problem which might be easier to reproduce. Still,
the same issue, I am not able to keep the versions up to date, so try to
find those old versions of the code (ESyS-Particle-win and OpenFOAM-1.5)
and not the latest ones. I am not sure if this is a good place to post
ESyS-particle related questions but I am still able to answer questions
related to that.

Note that I might not be able to respond you very promptly, however if
you need further assistance, please let me know.

Regards,

Feng Chen

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #294790]: YADE-1.20.0 compiled with Intel Compiler

2016-06-03 Thread Feng Chen
Question #294790 on Yade changed:
https://answers.launchpad.net/yade/+question/294790

Status: Answered => Open

Feng Chen is still having a problem:
Hi, Anton:

The purpose of using the intel compiler is that I intended to use the
Xeon Phi co-processor which might be able to have some speedup on openmp
(shared memory model) enabled codes (which I think YADE should be a good
candidate), in order to use it the first step is to compile with the
intel's compiler. Currently gcc does not have  support for Knights
Corner vector instructions therefore should not be used.

Is it possible to compile part of yade and run some benchmark problems
(which was true many years ago^_^) without the python interface (the
benchmark/optimization using Xeon Phi will not need python)?

Thanks

Feng

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #294790]: YADE-1.20.0 compiled with Intel Compiler

2016-06-02 Thread Feng Chen
Question #294790 on Yade changed:
https://answers.launchpad.net/yade/+question/294790

Status: Answered => Open

Feng Chen is still having a problem:
Hi, Anton, thanks for your quick reply, I attached here the debug info
for the run, it seems quite long, do you have any idea which part went
wrong?

[fchen14@host003 bin]$ ./yade-1.20.0 >err.log 2>&1
Segmentation fault

below is the err.log:
---
Welcome to Yade 1.20.0 
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.hpp:108 Omega: Constructing 
Omega.
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:212 loadPlugins: 
Loading plugin /project/fchen14/yade/install/lib64/yade-1.20.0/libyade.so
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:136 
buildDynlibDatabase: called with 234 plugins.
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin AxialGravityEngine
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BicyclePedalEngine
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Box_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_ChainedCylinder_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Cylinder_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Facet_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_GridConnection_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Sphere_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Tetra_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bo1_Wall_Aabb
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Body
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Bound
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BoundDispatcher
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BoundFunctor
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BoundaryController
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Box
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BoxFactory
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BubbleMat
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin BubblePhys
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CapillaryPhys
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CapillaryStressRecorder
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CapillaryTriaxialTest
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Cell
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CentralGravityEngine
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin ChCylGeom6D
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin ChainedCylinder
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin ChainedState
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CircularFactory
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Clump
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CohFrictMat
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CohFrictPhys
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CohesiveFrictionalContactLaw
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CohesiveTriaxialTest
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin Collider
DEBUG /project/fchen14/yade/trunk-1.20.0/core/Omega.cpp:142 
buildDynlibDatabase: Factoring plugin CombinedKinematicEngine
DEBUG /project/fchen14/yade/trun

[Yade-users] [Question #294790]: YADE-1.20.0 compiled with Intel Compiler

2016-06-02 Thread Feng Chen
New question #294790 on Yade:
https://answers.launchpad.net/yade/+question/294790

Hi, All:

I am now trying to use YADE-1.20.0 on a cluster (Redhat Enterprise 6) compiled 
with Intel Compiler 15.0.0, I made some attempt yesterday and was successful in 
compiling YADE with the following cmake configure and make, I compiled loki, 
boost 1.54 (1.55 has a problem with shard_ptr), eigen and minieigen using the 
same intel compiler, 

#!/bin/bash
export CC=icc
export CXX=icpc
export BSTTARGET=/project/fchen14/yade/boost/boost_1_54_0/install/
cmake -DCMAKE_C_COMPILER="icc" \
-DCMAKE_CXX_COMPILER="icpc" \
-DBoost_NO_BOOST_CMAKE=TRUE \
-DBoost_NO_SYSTEM_PATHS=TRUE \
-DBOOST_ROOT:PATHNAME=$BSTTARGET \
-DBoost_LIBRARY_DIRS:FILEPATH=${BSTTARGET}/lib \
-DBoost_INCLUDE_DIRS=${BSTTARGET}/include \
-DENABLE_GTS=OFF \
-DENABLE_GL2PS=OFF -DENABLE_GTS=OFF \
-DPY_minieigen=/project/fchen14/yade/eigen/minieigen-0.5.3/install/ \

-DEIGEN3_INCLUDE_DIR=/project/fchen14/yade/eigen/eigen-3.2.8/install/include/eigen3
 \
-DLOKI_INCLUDE_DIR=/project/fchen14/yade/loki/loki-0.1.7/install/include \
-DLOKI_LIBRARY=/project/fchen14/yade/loki/loki-0.1.7/install/lib \
-DCMAKE_INSTALL_PREFIX=../install \
../trunk-1.20.0/ #/project/fchen14/yade/loki/loki-0.1.7/install/include

the libyade.so was generated successfully, however when I tried to launch 
yade-1.20.0 with the following command it resulted in a segmentation fault:

[fchen14@host001 bin]$ ./yade-1.20.0
Welcome to Yade 1.20.0
Segmentation fault

further exploring into the script ./yade-1.20.0 I located the segmentation 
fault happens at the line 129 in ./yade-1.20.0

129 import yade

So I am wondering 

1) does anyone have the experience of using YADE with intel compiler?

2) As this will be only using the cluster with batch job so I do not need any 
GUI and use as few dependencies as possible, I just want to run a very simple 
case like free fall/collision of a few thousand particles and then benchmark 
the run,  can I run yade without python interface? (If trying to diagnose the 
segmentation fault with python interface will take a long time?

Thanks for any suggestions!

Feng Chen




-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #256106]: Coupling YADE with CFD

2014-10-24 Thread Feng Chen
Question #256106 on Yade changed:
https://answers.launchpad.net/yade/+question/256106

Feng Chen proposed the following answer:
Hi, Shailesh

YADE-OpenFOAM was not updated since 2011, I also started ESyS-Foam
project at https://launchpad.net/esysfoam, however  due to personal
schedule I do not have much time updating either project. There is no
thermal analysis currently and you will need to adapt a OpenFOAM thermal
analysis solver into it. The source code and examples are still on the
webpage and should be a good reference for your own work. Feel free to
ask if you have more questions.

Thank you,

Feng Chen

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #165417]: Fluid Simulation

2011-07-22 Thread Feng Chen
Question #165417 on Yade changed:
https://answers.launchpad.net/yade/+question/165417

Status: Open = Answered

Feng Chen proposed the following answer:
Hi, Daniela:

I have initiated an ESyS-OpenFOAM coupling project since the beginning
of this year, due to personal schedule it was not actively developed
since March, recently I got quite a lot personal emails regarding this
topic and code.

Although currently I am still facing some convergence and numerical
instabilities, I am planning to release it pretty soon, I have created a
project called ESyS-FOAM and will soon release the code.

Verification is a difficult thing and might need more people to join
this work, also discuss the road map.

YADE-OpenFOAM coupling probably can be re-wrote in a similar way, once I
upload the files, you are very welcome to use, test and contribute this,
as far as I know, OpenFOAM 2.0 has already contained a DEM part, but I
do not know much about it.

Feng

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #165417]: Fluid Simulation

2011-07-22 Thread Feng Chen
Question #165417 on Yade changed:
https://answers.launchpad.net/yade/+question/165417

Feng Chen proposed the following answer:
Hi, Bruno:

That reference is from PFC2D's (v3.1) manual Fixed coarse-grid fluid
scheme in PFC2D, I remember it is in the second example of fluidized
bed.

I have not done in-depth research about this, but my experience is your
dn/dt and d(rho*n)/dt (n is the porosity, rho is fluid density) must be
small (but don't know how small it should be) compared to other terms,
or your solution for N-S equation will soon fail, if omit your porosity
derivative in your N-S equation, everything will be happy...

feng

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #165417]: Fluid Simulation

2011-07-22 Thread Feng Chen
Question #165417 on Yade changed:
https://answers.launchpad.net/yade/+question/165417

Feng Chen proposed the following answer:
My 2 cents:

There are 3 things to parallel in this coupled problem:

1. Parallel in DEM itself (discrete particle domain decomposition, OpenMP, MPI 
etc)
2. Parallel in CFD (similar to above, continuum domain decomposition, OpenFOAM 
is mature on this)
3. Parallel in DEM-CFD (we are working on this, almost done)

Feng

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] Viscous damping code for YADE

2008-12-22 Thread Feng Chen
Hi, all:

I am about to release the viscous damping code for YADE SVN, this damping is 
different from the non-viscous damping and the damping effect only exist when 
particles are in contact, the basic equations are similar to:

http://en.wikipedia.org/wiki/Damping

In some conditions, this is more realistic than the non-viscous damping. Two 
verification problems are listed in:

Feng Chen, Eric. C. Drumm, and Georges Guiochon „Prediction/Verification of 
Particle Motion in One Dimension with the Discrete-Element Method”. 
International Journal of Geomechanics, ASCE, Volume 7, Issue 5, pp. 344-352 
2007 

One thing is I only tested it with YADE-0.11.1, it might take some time to 
compile with the latest SVN, hope this would be helpful.

Merry Christmas!

Best regards, 

Feng Chen
Graduate Student
Department of Civil and Environmental Engineering
223 Perkins Hall
University of Tennessee, Knoxville, 37996
http://fchen3.googlepages.com/home

-- 
This message was sent by Launchpad via the Contact user/team
link on your profile page.  For more information see
https://help.launchpad.net/YourAccount/ContactingPeople

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp