Effacer les filtres
Effacer les filtres

Regarding choosing correct boundary condition

2 vues (au cours des 30 derniers jours)
Rahul
Rahul le 21 Juin 2024
Commenté : Rahul le 21 Juin 2024
Hi,
I have a condition where at the left boundary and the right boundary I need the flux to be non-zero.
Thus, the equations
pL + qL*fL = 0 and pr + qr*fr = 0 are such that fL and fr being non zero is making my equation hard to determine the values for pl, ql as well as pr, qr.
Plz tell me how should I approach for the same.
with regards,
rc

Réponse acceptée

Torsten
Torsten le 21 Juin 2024
Modifié(e) : Torsten le 21 Juin 2024
If you set qL = 1 and qr = 1 and you defined f as f = D*du/dx in the function where you need to specify [c,f,s], you can specify the flux in pL and pr.
  7 commentaires
Torsten
Torsten le 21 Juin 2024
Modifié(e) : Torsten le 21 Juin 2024
What is u(2) ? Is it n ?
The flux for u(4) should not include pi_s.
Put 1/r d/dr(r*n*pi_s) in the source term s(4) and remove it in the specification of f(4).
Rahul
Rahul le 21 Juin 2024
Hi, Torsten,
Yes, u(2) is n.
Ok, I'll do so. Thanks a lot.
rgds,
rc

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by