extra term twophasesystem.C
- 
							
							
							
							
@东岳 Hi Dongyue, it works. Now I am trying to add it into user's library. I changed the Make/files as following and I include "libmycompressibleTwoPhaseSystem" in system/controDict, but the solver neglect it. I really don't know how to make the solver to call the modified "twophasesystem.C", or I need to change the name of "twophasesystem.C". Do you have any suggestion? Thanks. LIB = $(FOAM_USER_LIBBIN)/libmycompressibleTwoPhaseSystem
- 
							
							
							
							
@东岳 Hi, dongyue. I tried many ways to reach my goal, such as create a newtwophasesystem.C (I found this file in the reactingtwophaseeulerfoam, so it should be possible to use a new one) and compile. But I still cannot link the new file to the solver if I put it in the user's library. Do you have any suggestion? Many Thanks. 
- 
							
							
							
							
the easy way: cd \$FOAM_LIBBIN/ mv libcompressibleTwoPhaseSystem.so libcompressibleTwoPhaseSystem.so.bk cp \$FOAM_USER_LIBBIN/libmycompressibleTwoPhaseSystem.so ./libcompressibleTwoPhaseSystem.so
 the best best way: add below line in solver's Make/options file -L$(FOAM_USER_LIBBIN) \ -lmycompressibleTwoPhaseSystemmake sure every line have "\" end except last line. 
 
			

