Abstract
This study compares different algorithms for solving the equations of classical density functional theory for the one-dimensional vapor-liquid interface of real fluids: Picard iteration, Anderson mixing, a restarted quasi Newton method and two versions of the matrix-free inexact Newton method, one using analytic the other using numerically approximated derivatives. All algorithms converge to the same density profiles in all studied test cases. The calculation time of the slowest algorithm (Picard iteration), however, is up to twenty times longer than for the fastest algorithms (Anderson mixing and inexact Newton method with numerically approximated derivatives). Further, the computational speed-up of parallelization and of a convergence criterion based on the value of surface tension instead of the decrease of the norm of the residual are discussed. A Helmholtz energy functional consistent with the perturbed-chain statistical associating fluid theory (PC-SAFT) is applied which includes contributions due to hard-sphere repulsion, chain formation, dispersion as well as association. For the association term, we compare two widely used functionals.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.