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

Is it possible to develop variable coeffcient solver based on Trixi.jl framework? #1623

Open
mathboylinlin opened this issue Sep 6, 2023 · 1 comment

Comments

@mathboylinlin
Copy link

Hello everyone. Could someone tell me is it possible to develop a solver for solving equations with solution dependent coefficinets or coordinate dependent coefficients? For example, in the heat transfer problem, the thermal conductivity is not always a constant but dependent on temperature which is an independent variable in the heat transfer equations. I would like to know whether Trixi.jl can deal with this problem. Thanks in advance.

@ranocha
Copy link
Member

ranocha commented Sep 6, 2023

Coefficients that depend on the solution itself mean that you have to deal with a nonlinear problem. This is the focus of Trixi.jl, so it is widely supported. See for example https://trixi-framework.github.io/Trixi.jl/stable/tutorials/adding_new_scalar_equations/ for a simple tutorial describing a nonlinear scalar conservation law.
Coefficients depending on the space coordinates are less supported. Right now, we typically introduce the space coordinates as additional degrees of freedom as described in https://trixi-framework.github.io/Trixi.jl/stable/tutorials/adding_nonconservative_equation/ to handle this. This is suboptimal and should be changed at some point, but we did not have the resources to do so so far. See #358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants