Skip to content
Discussion options

You must be logged in to vote

This is definitely on-topic.

Yes, using CEA as the computational core behind a C-based rocket front end is a reasonable thing to do. Python is not required here, it is just one of the available interfaces.

On cea_init(): in the current implementation it performs process-wide initialization of the global thermo/transport databases. It is not a per-object allocation, and there is no public cea_finalize()/shutdown function. The intended lifecycle is basically: call cea_init() once, create/destroy mixtures/solvers/solutions as needed, and let the process keep the global database state for its lifetime. So for a normal executable that is fine, but it is not a balanced init/shutdown API. Also, …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Bloody-Ari
Comment options

@markleader
Comment options

Answer selected by Bloody-Ari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants