Talk:Windtunnel online: Difference between revisions

From Arbeitsgruppe Kuiper
Jump to navigation Jump to search
m (corrupted makefiles)
m (nbsp)
 
Line 8: Line 8:
: must occur (if at all) '''before''' the line<br>
: must occur (if at all) '''before''' the line<br>
: <code>include makefile_user_simulationdefs</code>.<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)
: 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&nbsp;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)

Latest revision as of 06:43, 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.

Density plot

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 = YES in your "makefile_user_simulationdefs" is overridden by NO 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 indicator function of the object.) The makefiles 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)