shenzhihao / CFDEMInterFoamIB

A CFDEM solver to simulate the interaction between two-phase fluids and granular materials
GNU General Public License v3.0
39 stars 7 forks source link

Compiling error on CFDEM®coupling version 3.8.0 #1

Open iHateChen opened 1 year ago

iHateChen commented 1 year ago

Hi Dr.Shen, thank you for your impressive work! Here came across an error when compiling cfdemSolverInterIB20 on CFDEM®coupling version 3.8.0 and I really need some help. The error is like this
" -lm -o /home/chen/CFDEM/chen-PUBLIC-5.x/platforms/linux64GccDPInt32Opt/bin/solverInterIB20 /usr/bin/ld: 找不到 -linterIB20 collect2: error: ld returned 1 exit status make: *** [/home/chen/OpenFOAM/OpenFOAM-5.x/wmake/makefiles/general:142:/home/chen/CFDEM/chen-PUBLIC-5.x/platforms/linux64GccDPInt32Opt/bin/solverInterIB20] 错误 1" I am basically a beginner on CFDEM and think about modeling two-phase fluids during hydraulic fracture with it. I also have a question about which version of CFDEM, LIGGGHTS, and OpenFOAM you work with so that I guess I could construct another virtual machine and new environment. It will be better if I can have more conversations with you on WeChat or by email. Thank you again! Shihang Chen Email:2232583@tongji.edu.cn

shenzhihao commented 1 year ago

Hello, Dr. Chen.

Sorry that I just find your commonts.

The library "linterIB20" is generated in the folder "$(CFDEM_USER_LIB_DIR)". (refer to solverInterIB2_0/subModels/Make/files). This variable is a default location in CFDEM setting, which is "/home/pc/CFDEM/pc-PUBLIC-5.x/platforms/linux64GccDPInt32Opt/lib". The term "pc" is the user name on my computer. If you can not find this library, please try to check if this location exists or not.

If you have correctly installed the CFDEM software, you can see the output in the terminal whenyou start it,

2023-05-12 11-25-10

If you can not see this variable "$(CFDEM_USER_LIB_DIR)". Maybe you did not install the software successfully.

Best Regards.

iHateChen commented 1 year ago

Hi,Dr. Shen.

Thank you for your reply!

I have already installed your solver successfully, and sorry for not noticing you in time.  It is really a strong solver and I learned a lot from it.

Thanks again!

哎哟呆逼 @.***

 

------------------ 原始邮件 ------------------ 发件人: "shenzhihao/CFDEMInterFoamIB" @.>; 发送时间: 2023年5月12日(星期五) 中午11:32 @.>; @.**@.>; 主题: Re: [shenzhihao/CFDEMInterFoamIB] Compiling error on CFDEM®coupling version 3.8.0 (Issue #1)

Hello, Dr. Chen.

Sorry that I just find your commonts.

The library "linterIB20" is generated in the folder "$(CFDEM_USER_LIB_DIR)". (refer to solverInterIB2_0/subModels/Make/files). This variable is a default location in CFDEM setting, which is "/home/pc/CFDEM/pc-PUBLIC-5.x/platforms/linux64GccDPInt32Opt/lib". The term "pc" is the user name on my computer. If you can not find this library, please try to check if this location exists or not.

If you have correctly installed the CFDEM software, you can see the output in the terminal whenyou start it,

If you can not see this variable "$(CFDEM_USER_LIB_DIR)". Maybe you did not install the software successfully.

Best Regards.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

iHateChen commented 1 year ago

Hello, Dr. Shen: Sorry for bothering you. I read your paper carefully and also tried to validate my case when using your remarkable solver. But I found that there seemed to be a problem with Table 1 where the Cd,num was different fromthe results calculated from Eqn.37 with Up,steady and other information provided in your case. For instance, the Cd,num is 47.07 rather than 55.60 if just consider Eqn.37. were there any other operations when using the equation? Or did I miss some important information? Hoping for your reply! Thank you! 

哎哟呆逼 @.***

 

------------------ 原始邮件 ------------------ 发件人: "shenzhihao/CFDEMInterFoamIB" @.>; 发送时间: 2023年5月12日(星期五) 中午11:32 @.>; @.**@.>; 主题: Re: [shenzhihao/CFDEMInterFoamIB] Compiling error on CFDEM®coupling version 3.8.0 (Issue #1)

Hello, Dr. Chen.

Sorry that I just find your commonts.

The library "linterIB20" is generated in the folder "$(CFDEM_USER_LIB_DIR)". (refer to solverInterIB2_0/subModels/Make/files). This variable is a default location in CFDEM setting, which is "/home/pc/CFDEM/pc-PUBLIC-5.x/platforms/linux64GccDPInt32Opt/lib". The term "pc" is the user name on my computer. If you can not find this library, please try to check if this location exists or not.

If you have correctly installed the CFDEM software, you can see the output in the terminal whenyou start it,

If you can not see this variable "$(CFDEM_USER_LIB_DIR)". Maybe you did not install the software successfully.

Best Regards.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Prof-Eric-666 commented 8 months ago

I also meet a problem, I can't complie it successfully. Could you give me some more details about the compiling? I don't know where to put the files. And I get an error, when I compile it. Thank you very much, I am seeing your response. 1710748233034