๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #66

Re: โ€œThe end of software secrecy is almost upon us"

#66
From: Thomas Koenig
Date: Tue, 20 Oct 2026 21:20
42 lines
3161 bytes
Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
> On 10/20/2026 12:15 PM, Thomas Koenig wrote:

>> Don't know about your code, but I remember waiting a long time
>> for Aspen simulations... but then again, those diverge from
>> a converged solution, which shows that if Aspen has the first
>> clue about numerical methods, they are very good at hiding it.
>> 
>> I just hope your software is better, at least in that respect.
>
> Most of our convergence methods use Newton-Raphson, yes that Isaac 
> Newton, to start, very quick to solve if it solves.  If that spirals out 
> of control then we use the halving method, brute force and very slow. 
> If that fails then we use an interpolation method, also very slow.  If 
> that fails (the flash is infeasible), then we report the failure to the 
> user.

Sounds reasonable, but...

How can bisection fail?  If you have bracketed your roots and
have no singularities it always succeeds.

Hmm... molar fractions less than zero, maybe?

> Our rigorous four phase flash is the worst since it solves two sets of 
> k-values simultaneously with a vapor-liquid-solid fugacity based solid 
> flash.  The four phases are vapor, hydrocarbon liquid, aqueous liquid, 
> and solid.  Almost 300,000 lines of Fortran 66/77 code that I am 
> converting to C++.

For two variables, of course, bisection will not work.

> And there are exceptions all over the place to the above since our 
> software is Frankenstein consisting of the Design, Distill, Refine, and 
> Gasplant Plus programs merged together.

I can imagine...

-- 
This USENET posting was made without artificial intelligence,
artificial impertinence, artificial arrogance, artificial stupidity,
artificial flavorings or artificial colorants.
Technical Details
Message-ID: <11b8lu2$3cpbf$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me> <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me> <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me> <11b87jg$37b7t$1@dont-email.me> <11b8ieg$3bn6q$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Thomas Koenig <tkoenig@netcologne.de>
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: โ€œThe end of software secrecy is almost upon
 us"
Date: Tue, 20 Oct 2026 21:20:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <11b8lu2$3cpbf$1@dont-email.me>
References: <11amvre$15far$1@dont-email.me> <11b5tdb$2cs5l$1@dont-email.me>
 <11b64cp$end$1@panix2.panix.com> <11b64hj$2faos$1@dont-email.me>
 <11b679m$6dl$1@panix2.panix.com> <11b6vc4$2npqv$1@dont-email.me>
 <11b87jg$37b7t$1@dont-email.me> <11b8ieg$3bn6q$1@dont-email.me>
Injection-Date: Tue, 20 Oct 2026 21:20:03 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3564911"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Hvp4QY4CnaGgaBLuYkD4O0LMpZVDuUIg="; posting-host="7d964b25384da96e7cfe16401c4c233f"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:kMioyMWE5joqBO0fNIQxGsEVOXE= sha256:hxI+a+yDCFIolPbBtPv3vzcfroi9y4I5wPhsAWigvl4=
	sha1:0WwaB7iMxuEw498GwiVY8ctremk= sha256:T9V8Fhxk4F9eC58/lSTzqDJE95k2RmSBxij74aeqJQw=