Talk:Windtunnel online: Difference between revisions
Jump to navigation
Jump to search
(Dennis?) |
m (corrupted makefiles) |
||
| Line 4: | Line 4: | ||
I tried to run the exact same simulation as Dennis, but there was still no object, just like before. --[[User:Shaghie|Shaghie]] ([[User talk:Shaghie|talk]]) 11:25, 5 June 2024 (CEST) | I tried to run the exact same simulation as Dennis, but there was still no object, just like before. --[[User:Shaghie|Shaghie]] ([[User talk:Shaghie|talk]]) 11:25, 5 June 2024 (CEST) | ||
: He didn't switch on SOLID in "makefile_user_simulationdefs" or he used a belt version, which cannot handle ''solid''? Hence, he swiftly coded his own ''solid'' implementation? --[[User:Lothar.brendel|Lothar]] ([[User talk:Lothar.brendel|talk]]) 18:43, 5 June 2024 (CEST) | : He didn't switch on SOLID in "makefile_user_simulationdefs" or he used a belt version, which cannot handle ''solid''? Hence, he swiftly coded his own ''solid'' implementation? --[[User:Lothar.brendel|Lothar]] ([[User talk:Lothar.brendel|talk]]) 18:43, 5 June 2024 (CEST) | ||
: I don't know how this happened, but you have corrupted <code>makefile</code>s: The line<br> | |||
: <code>include $(BELT_DIR)/makefiles/makefile_automatic_defaultsimulationdefs</code><br> | |||
: must occur (if at all) '''before''' the line<br> | |||
: <code>include makefile_user_simulationdefs</code>.<br> | |||
: Otherwise, the <code>SOLID = YES</code> in your "makefile_user_simulationdefs" is overridden by <code>NO</code> and your executable is missing the ''solid'' code parts. (One evidence for that is the absence of the files data/obj.*.dbl. They contain the [https://en.wikipedia.org/wiki/Indicator_function indicator function] of the object.) The <code>makefile</code>s in Rolf's "Sims/2021 windtunnel/2D/cylinder/dx=2mm/FlowRegimes/P=*/" are all correct, they actually don't include the automatic_defaultsimulationdefs at all. --[[User:Lothar.brendel|Lothar]] ([[User talk:Lothar.brendel|talk]]) 07:37, 6 June 2024 (CEST) | |||
Revision as of 06:37, 6 June 2024
I ran the simulations for two different pressures. In both cases, I couldn't see the object. In my version, the solid is included. @Dennis also ran the simulation, but he didn't have the solid, so he re-wrote init.c. The object appeared in his simulation.
I tried to run the exact same simulation as Dennis, but there was still no object, just like before. --Shaghie (talk) 11:25, 5 June 2024 (CEST)
- He didn't switch on SOLID in "makefile_user_simulationdefs" or he used a belt version, which cannot handle solid? Hence, he swiftly coded his own solid implementation? --Lothar (talk) 18:43, 5 June 2024 (CEST)
- I don't know how this happened, but you have corrupted
makefiles: The line include $(BELT_DIR)/makefiles/makefile_automatic_defaultsimulationdefs- must occur (if at all) before the line
include makefile_user_simulationdefs.- Otherwise, the
SOLID = YESin your "makefile_user_simulationdefs" is overridden byNOand your executable is missing the solid code parts. (One evidence for that is the absence of the files data/obj.*.dbl. They contain the indicator function of the object.) Themakefiles in Rolf's "Sims/2021 windtunnel/2D/cylinder/dx=2mm/FlowRegimes/P=*/" are all correct, they actually don't include the automatic_defaultsimulationdefs at all. --Lothar (talk) 07:37, 6 June 2024 (CEST)