Hello We want to use buoyan
We want to use buoyantFoam but with a non-ideal gas. We tried to change the relationship between rho, T and p in perfectGasI.H, but compilation in 'specie' failed with the following output
/usr/lib/crt1.o: In function '_start':
(.text+0x18): undefined reference to 'main'
collect2: ld returned 1 exit status
In fact, it's not completely clear to me what to compile after changing the equation of state. Can someone give some more information about this?
Thx and regards
Hello Stijn, If you change
If you change only the equation of state, recompile src/thermophysicalModels/specie directory. Maybe you will need also to recompile src/thermophysicalModels/basic directory.
Error which you get comes probably, because you run "wmake" command. Then you of course should have main function. thermophysicalModels is a library, so you should use "wmake libso" command in order to compile library.
one more thing, I wouldn't ch
one more thing,
I wouldn't change the perfectGas class. Instead i would make a new class (use perferctGas as a template). Then there are some more things to do, so if you decide to go this way, let me know, i did it before so i can try to help you.
Otherwise you can of course change the function rho() in perfectGas (which is the simpiest way), but then the beauty of OOP unfortunately dissapears.
David, I tried to create n
I tried to create new EoS from perfectGas, but it seems solver does not use new, but perfectGas. could you please take a look at my package on
or maybe you can post your working case?
|All times are GMT -4. The time now is 16:46.|