Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
各位老师,大佬,大神好,
最近下载了一个第三方求解器flameletFoam,编译时需要将环境变量配置到相应的src文件:
export LIB_FLAMELET_SRC=$HOME/($YOUR_PATH)/flameletFoam/src
如果我现在将这个求解器复制并准备修改,如何修改上述命令中的LIB_FLAMELET_SRC,例如改为LIB_NEWFLAMELET_SRC。
谢谢大家!
需要在复制的求解器下执行:
echo "export LIB_XXXX_SRC=$WM_PROJECT_USER_DIR/applications/FGMFoam/src" > bashrc source bashrc
接着将所有Make/option中原来的LIB_FLAMELET_SRC换为LIB_XXXX_SRC
LIB_FLAMELET_SRC
LIB_XXXX_SRC
最后再编译即可