Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coupled heat transfer - H transport (transient) #945

Open
RemDelaporteMathurin opened this issue Feb 18, 2025 · 0 comments
Open

Coupled heat transfer - H transport (transient) #945

RemDelaporteMathurin opened this issue Feb 18, 2025 · 0 comments
Labels
fenicsx Issue that is related to the fenicsx support

Comments

@RemDelaporteMathurin
Copy link
Collaborator

Something like this:

class CoupledHeatTransferHTransport():
    h_transport_problem: HydrogenTransportProblem
    heat_transfer_problem: HeatTransferProblem

    def initialise():
        self.h_transport_problem.initialise()
        self.heat_transfer_problem.initialise()

        self.h_transport_problem.T = self.heat_transfer_problem.u

    def iterate():
        self.h_transport_problem.iterate()
        self.heat_transfer_problem.iterate()

        next_dt_value = min(self.h_transport_problem.dt, self.heat_transfer_problem.dt)
        self.h_transport_problem.dt = next_dt_value
        self.heat_transfer_problem.dt = next_dt_value
@RemDelaporteMathurin RemDelaporteMathurin converted this from a draft issue Feb 18, 2025
@RemDelaporteMathurin RemDelaporteMathurin added the fenicsx Issue that is related to the fenicsx support label Feb 18, 2025
@jhdark jhdark moved this from Todo to Done in FESTIM2 Feb 25, 2025
@jhdark jhdark moved this from Done to In Progress in FESTIM2 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fenicsx Issue that is related to the fenicsx support
Projects
Status: In Progress
Development

No branches or pull requests

1 participant