Hi,
When I run coupled cfd-dem simulation, there is some problem importing the stl file.
---------------------
Importing STL file 'geotest.STL'
ERROR on proc 0: Cannot open stl file geotest.STL.
----------------------
But when I run liggghts only, there is not any problem. I found from previous post that I should try absolute path. May I know how does it work? I tried :
fix cad all mesh/gran $Absolute_path/ geotest.STL 1 1.0 0.0 0.0 0.0 0.0 0.0 0.0
then there is error message:
ERROR on proc 0: Substitution for illegal variable
Thanks!
-------------------------------------------------------------
fix zwalls all wall/gran/hertz/history 1 0 zplane -1.5 3.0 1
fix cad all mesh/gran geotest.STL 1 1.0 0.0 0.0 0.0 0.0 0.0 0.0
#use the imported mesh as granular wall
fix granwalls all wall/gran/hertz/history 1 0 mesh/gran 1 cad
---------------------------------------
Best,
Lenard
cgoniva | Tue, 06/21/2011 - 22:44
Hi Lenard! When you run the
Hi Lenard!
When you run the cfdem solver (also with the Allrun routine) then the "working directory" is the .../CFD directory.
As the DEM solver is called from within the CFD solver, the "working directory" also for the DEM solver is .../CFD
so when you want to import an stl you need to use "../DEM/yx.stl" if the xy.stl is inside the .../DEM directory.
Cheers,
Chris
lenard10 | Tue, 06/21/2011 - 23:17
Thanks Chris! That solved my
Thanks Chris! That solved my problem.
ckloss | Sat, 06/25/2011 - 12:27
>fix cad all mesh/gran
>fix cad all mesh/gran $Absolute_path/ geotest.STL 1 1.0 0.0 0.0 0.0 0.0 0.0 0.0
>then there is error message:
>ERROR on proc 0: Substitution for illegal variable
The syntax would be ${Absolute_path}, see the LIGGGHTS manual
Cheers,
Christoph