GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feos/docs/index.md at development · feos-org/feos

Expand file tree

/

index.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
144 lines (114 loc) · 3.31 KB
/

index.md

Copy path

File metadata and controls

144 lines (114 loc) · 3.31 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions
hide-toc true

Welcome to {math}\text{FeO}_\text{s}

{math}\text{FeO}_\text{s} is a framework for thermodynamic equations of state (EoS) and classical density functional theory (DFT). It is written in Rust with a Python interface.

Usage

````{tab-item} Python
```python
import feos

# Build an equation of state
parameters = feos.Parameters.from_json(['methanol'], 'parameters.json')
eos = feos.EquationOfState.pcsaft(parameters)

# Define thermodynamic conditions
critical_point = feos.State.critical_point(eos)

# Compute properties
p = critical_point.pressure()
t = critical_point.temperature
print(f'Critical point for methanol: T={t}, p={p}.')
```
```output
Critical point for methanol: T=531.5 K, p=10.7 MPa.
```
````

````{tab-item} Rust
```rust
// some imports omitted
use feos::core::parameter::{IdentifierOption, Parameters};
use feos::core::{Contributions, State};
use feos::pcsaft::PcSaft;

// Build an equation of state
let parameters = Parameters::from_json(
    vec!["methanol"],
    "parameters.json",
    None,
    IdentifierOption::Name,
)?;
let eos = &PcSaft::new(parameters);

// Define thermodynamic conditions
let critical_point = State::critical_point(&eos, (), None, None, Default::default())?;

// Compute properties
let p = critical_point.pressure(Contributions::Total);
let t = critical_point.temperature;
println!("Critical point for methanol: T={}, p={}.", t, p);
```
```output
Critical point for methanol: T=531.5 K, p=10.7 MPa.
```
````

Getting started

  • Learn how to install the code.
  • Browse the python tutorials.
  • Need something specific? May we have a recipe for that.
  • Questions or comments? We are happy to hear from you!

Want to learn more?

  • Delve into the python or Rust API.
  • Learn about the underlying theory in our Theory guide!

Features

:open:

- thermodynamic **properties**
- **phase equilibria** for pure substances and mixtures
- **critical point** calculations for pure substances and mixtures
- **dynamic properties** (entropy scaling)
- **stability analysis**
---
**Implemented equations of state**
- PC-SAFT (incl. group contribution method)
- ePC-SAFT
- uv-Theory
- SAFT-VR-Mie and the extension to quantum fluids SAFT-VRQ-Mie
- PeTS
- Multiparameter Helmholtz energy equations of state for common pure components
:open:

- **interfacial** properties,
- properties in **nanopores** and at **walls**,
- **adsorption isotherms**,
- **solvation free energies**,
- different **dimensions** and **coordinate systems**
:open:

- Helmholtz energy uses **generalized (hyper-) dual numbers** - no analytical derivatives are needed.
- Interfaces use **dimensioned quantities** - never accidentally mix molar and mass-specific properties.
- Python bindings are written in Rust - **robust type checking** and **error handling**.
:hidden:

installation
help_and_feedback
:caption: Python
:hidden:

tutorials/index
recipes/index
api/index
:caption: Rust
:hidden:

rust_api
:caption: Theory
:hidden:

theory/eos/index
theory/dft/index
theory/models/index
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.