Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How QB matches my heat-exchanger design process
#1
Hi everyone,

I built a 3000 line QB4.5 program in 1988-89 to design specialist modular heat-exchangers. I was a youngish engineer at the time.

A few links of the MSTHE below, for context:
Link 1
Link 2
Link 3

QB in text mode follows the HE design process very well - the 'inside out' process.
- Primary fluid data - single phase - condensation - evaporation - user input
- Secondary fluid data- single phase - condensation - evaporation - user input
- Heat balance
- Tubeside performance  (inside)
- Shellside performance (outside)
- Determine overall module arrangement
- Spiral cage design
- Printouts

This follows a linear design process and can fork in many different directions at each design point.

QB has followed this design process very well, although the original QB4.5 output was not the prettiest. Recently, I cleaned up the graphics a bit using better screen dimensions and qb64pe's upgraded commands. In Linux I print directly to txt files, then convert directly to pdf files from within the package.

I've always been very loath to jump to another programming language or full graphics display due to the complexity of the design process and its many twists and turns along the design process pathway. So, over the years, I have regularly updated the original code to run on modern computer systems as qb4.5->qb64->qb64pe has developed.

The full story of the technology in modern times can be found on my Patreon and Youtube sites and the following links:
Patreon
Youtube

   
   
   
   
   
Reply
#2
You could probably display the models in QB64 if they are a model type supported by OpenGL.
Tread on those who tread on you

Reply
#3
You could also take advantage of the massive power of SCREEN 0 and do the mechanical drawing relief of the pipes at one end...

PRINT "o    o     o"
PRINT "o    o     o" 
PRINT "o    o     o" 
PRINT "o    o     o"

There are pipe algorithms in OpenGL: https://www.songho.ca/opengl/gl_cylinder.html

General info: https://learnopengl.com/Model-Loading/Model

Now I have no experience with OpenGL, but a couple of forum users have put together some nice mapping examples in the past.

Pete Big Grin
Fake News + Phony Politicians = Real Problems

Reply
#4
I am impressed with screen shots, if QB64 is generating those graphics wow! Who could continue to underestimate or put down QB64?

+1 to encourage your efforts, so glad to have engineer QB64 fans!
b = b + ...
Reply
#5
What? No +1 for my complete pipe rendering example in SCREEN 0? Wow, tough crowd!

Pete Big Grin
Fake News + Phony Politicians = Real Problems

Reply
#6
(08-05-2024, 04:30 PM)Pete Wrote: What? No +1 for my complete pipe rendering example in SCREEN 0? Wow, tough crowd!

Pete Big Grin

sorry all I saw were pipe cross sections? but it looks like O is winning at Tic-tac-toe
b = b + ...
Reply
#7
Exactly! Pipe x-sections. One of three necessary renderings of any blueprint. If you want to 3-D it, just pick up and rotate your screen!

Pete

- Rodney move over. I get no respect, either.
Fake News + Phony Politicians = Real Problems

Reply
#8
Ok I will wait 1/2 day, won't have to pickup anything!
b = b + ...
Reply




Users browsing this thread: 1 Guest(s)