Vorticity transport 2D using Lax-Wendroff 2 steps scheme












2












$begingroup$


I have to solve a 2D vorticity transport equation (very similar to viscous Burgers 2D). I had to change the equation for a non-dimensional form.



Vorticity transport Eq.:



$$zeta_t+u.zeta_x + v.zeta_y=frac{1}{text{Re}}(zeta_{xx}+zeta_{yy})$$



I have to use the Lax-Wendroff 2 steps scheme. I've made a discretization:



Lax-Wendroff 2 Steps:



1º STEP:
$$zeta^{n+1/2}_{i,j} = S^n_{12} - 2Omega(u_{i,j}Delta I^n_{i+1/2,j} + v_{i,j}Delta J^n_{i,j+1/2}) + Theta(S^n_{
32} - S^n_{12})$$

2º STEP:
$$zeta^{n+1}_{i,j} = zeta^{n}_{i,j} - Omega(u_{i,j}Delta I^{n+1/2}_{i+1/2,j} + v_{i,j}Delta J^{n+1/2}_{i,j+1/2}) + Theta(S^n - 4zeta^{n}_{i,j})$$
where,
$$S^n_{12} = zeta^n_{i+1/2,j} + zeta^n_{i-1/2,j} + zeta^n_{i,j+1/2} + zeta^n_{i,j-1/2}$$
$$S^n_{32} = zeta^n_{i+3/2,j} + zeta^n_{i-3/2,j} + zeta^n_{i,j+3/2} + zeta^n_{i,j-3/2}$$
$$Delta J^n_{i+1/2,j} = zeta^n_{i+1/2,j} - zeta^n_{i-1/2,j}$$
$$Delta J^n_{i+3/2,j} = zeta^n_{i,j+1/2} - zeta^n_{i,j-1/2}$$
$$Omega = frac{Delta t}{Delta x} $$
$$Theta = frac{Delta t}{Delta x^2,text{Re}} $$



First question: I'm not sure if this discretization is correct. Second problem: i don't know how to analyze the stability condition. Can i use the same stability condition for a Lax-Wendroff 1-step scheme?



Results: VORTICITY
enter image description here










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    It's the convection-diffusion equation, isn't it?
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:40










  • $begingroup$
    Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 22:46












  • $begingroup$
    That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:57










  • $begingroup$
    @rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 23:03






  • 1




    $begingroup$
    Unless $u$ and $v$ defined previously, you'll need some more equations.
    $endgroup$
    – Mattos
    Nov 30 '18 at 23:31
















2












$begingroup$


I have to solve a 2D vorticity transport equation (very similar to viscous Burgers 2D). I had to change the equation for a non-dimensional form.



Vorticity transport Eq.:



$$zeta_t+u.zeta_x + v.zeta_y=frac{1}{text{Re}}(zeta_{xx}+zeta_{yy})$$



I have to use the Lax-Wendroff 2 steps scheme. I've made a discretization:



Lax-Wendroff 2 Steps:



1º STEP:
$$zeta^{n+1/2}_{i,j} = S^n_{12} - 2Omega(u_{i,j}Delta I^n_{i+1/2,j} + v_{i,j}Delta J^n_{i,j+1/2}) + Theta(S^n_{
32} - S^n_{12})$$

2º STEP:
$$zeta^{n+1}_{i,j} = zeta^{n}_{i,j} - Omega(u_{i,j}Delta I^{n+1/2}_{i+1/2,j} + v_{i,j}Delta J^{n+1/2}_{i,j+1/2}) + Theta(S^n - 4zeta^{n}_{i,j})$$
where,
$$S^n_{12} = zeta^n_{i+1/2,j} + zeta^n_{i-1/2,j} + zeta^n_{i,j+1/2} + zeta^n_{i,j-1/2}$$
$$S^n_{32} = zeta^n_{i+3/2,j} + zeta^n_{i-3/2,j} + zeta^n_{i,j+3/2} + zeta^n_{i,j-3/2}$$
$$Delta J^n_{i+1/2,j} = zeta^n_{i+1/2,j} - zeta^n_{i-1/2,j}$$
$$Delta J^n_{i+3/2,j} = zeta^n_{i,j+1/2} - zeta^n_{i,j-1/2}$$
$$Omega = frac{Delta t}{Delta x} $$
$$Theta = frac{Delta t}{Delta x^2,text{Re}} $$



First question: I'm not sure if this discretization is correct. Second problem: i don't know how to analyze the stability condition. Can i use the same stability condition for a Lax-Wendroff 1-step scheme?



Results: VORTICITY
enter image description here










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    It's the convection-diffusion equation, isn't it?
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:40










  • $begingroup$
    Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 22:46












  • $begingroup$
    That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:57










  • $begingroup$
    @rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 23:03






  • 1




    $begingroup$
    Unless $u$ and $v$ defined previously, you'll need some more equations.
    $endgroup$
    – Mattos
    Nov 30 '18 at 23:31














2












2








2


1



$begingroup$


I have to solve a 2D vorticity transport equation (very similar to viscous Burgers 2D). I had to change the equation for a non-dimensional form.



Vorticity transport Eq.:



$$zeta_t+u.zeta_x + v.zeta_y=frac{1}{text{Re}}(zeta_{xx}+zeta_{yy})$$



I have to use the Lax-Wendroff 2 steps scheme. I've made a discretization:



Lax-Wendroff 2 Steps:



1º STEP:
$$zeta^{n+1/2}_{i,j} = S^n_{12} - 2Omega(u_{i,j}Delta I^n_{i+1/2,j} + v_{i,j}Delta J^n_{i,j+1/2}) + Theta(S^n_{
32} - S^n_{12})$$

2º STEP:
$$zeta^{n+1}_{i,j} = zeta^{n}_{i,j} - Omega(u_{i,j}Delta I^{n+1/2}_{i+1/2,j} + v_{i,j}Delta J^{n+1/2}_{i,j+1/2}) + Theta(S^n - 4zeta^{n}_{i,j})$$
where,
$$S^n_{12} = zeta^n_{i+1/2,j} + zeta^n_{i-1/2,j} + zeta^n_{i,j+1/2} + zeta^n_{i,j-1/2}$$
$$S^n_{32} = zeta^n_{i+3/2,j} + zeta^n_{i-3/2,j} + zeta^n_{i,j+3/2} + zeta^n_{i,j-3/2}$$
$$Delta J^n_{i+1/2,j} = zeta^n_{i+1/2,j} - zeta^n_{i-1/2,j}$$
$$Delta J^n_{i+3/2,j} = zeta^n_{i,j+1/2} - zeta^n_{i,j-1/2}$$
$$Omega = frac{Delta t}{Delta x} $$
$$Theta = frac{Delta t}{Delta x^2,text{Re}} $$



First question: I'm not sure if this discretization is correct. Second problem: i don't know how to analyze the stability condition. Can i use the same stability condition for a Lax-Wendroff 1-step scheme?



Results: VORTICITY
enter image description here










share|cite|improve this question











$endgroup$




I have to solve a 2D vorticity transport equation (very similar to viscous Burgers 2D). I had to change the equation for a non-dimensional form.



Vorticity transport Eq.:



$$zeta_t+u.zeta_x + v.zeta_y=frac{1}{text{Re}}(zeta_{xx}+zeta_{yy})$$



I have to use the Lax-Wendroff 2 steps scheme. I've made a discretization:



Lax-Wendroff 2 Steps:



1º STEP:
$$zeta^{n+1/2}_{i,j} = S^n_{12} - 2Omega(u_{i,j}Delta I^n_{i+1/2,j} + v_{i,j}Delta J^n_{i,j+1/2}) + Theta(S^n_{
32} - S^n_{12})$$

2º STEP:
$$zeta^{n+1}_{i,j} = zeta^{n}_{i,j} - Omega(u_{i,j}Delta I^{n+1/2}_{i+1/2,j} + v_{i,j}Delta J^{n+1/2}_{i,j+1/2}) + Theta(S^n - 4zeta^{n}_{i,j})$$
where,
$$S^n_{12} = zeta^n_{i+1/2,j} + zeta^n_{i-1/2,j} + zeta^n_{i,j+1/2} + zeta^n_{i,j-1/2}$$
$$S^n_{32} = zeta^n_{i+3/2,j} + zeta^n_{i-3/2,j} + zeta^n_{i,j+3/2} + zeta^n_{i,j-3/2}$$
$$Delta J^n_{i+1/2,j} = zeta^n_{i+1/2,j} - zeta^n_{i-1/2,j}$$
$$Delta J^n_{i+3/2,j} = zeta^n_{i,j+1/2} - zeta^n_{i,j-1/2}$$
$$Omega = frac{Delta t}{Delta x} $$
$$Theta = frac{Delta t}{Delta x^2,text{Re}} $$



First question: I'm not sure if this discretization is correct. Second problem: i don't know how to analyze the stability condition. Can i use the same stability condition for a Lax-Wendroff 1-step scheme?



Results: VORTICITY
enter image description here







pde numerical-methods fluid-dynamics transport-equation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 8 '18 at 11:30









Harry49

6,40231132




6,40231132










asked Nov 30 '18 at 22:36









fvalencarfvalencar

114




114








  • 1




    $begingroup$
    It's the convection-diffusion equation, isn't it?
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:40










  • $begingroup$
    Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 22:46












  • $begingroup$
    That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:57










  • $begingroup$
    @rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 23:03






  • 1




    $begingroup$
    Unless $u$ and $v$ defined previously, you'll need some more equations.
    $endgroup$
    – Mattos
    Nov 30 '18 at 23:31














  • 1




    $begingroup$
    It's the convection-diffusion equation, isn't it?
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:40










  • $begingroup$
    Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 22:46












  • $begingroup$
    That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
    $endgroup$
    – rafa11111
    Nov 30 '18 at 22:57










  • $begingroup$
    @rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
    $endgroup$
    – fvalencar
    Nov 30 '18 at 23:03






  • 1




    $begingroup$
    Unless $u$ and $v$ defined previously, you'll need some more equations.
    $endgroup$
    – Mattos
    Nov 30 '18 at 23:31








1




1




$begingroup$
It's the convection-diffusion equation, isn't it?
$endgroup$
– rafa11111
Nov 30 '18 at 22:40




$begingroup$
It's the convection-diffusion equation, isn't it?
$endgroup$
– rafa11111
Nov 30 '18 at 22:40












$begingroup$
Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
$endgroup$
– fvalencar
Nov 30 '18 at 22:46






$begingroup$
Yes! The term with $zeta_x$ is the convection, and $zeta_{xx}$ is the diffusion term.
$endgroup$
– fvalencar
Nov 30 '18 at 22:46














$begingroup$
That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
$endgroup$
– rafa11111
Nov 30 '18 at 22:57




$begingroup$
That's the first time I see this equation being called 'Viscous two-dimensional Burger's equation'. I'm not well acquainted with the Lax-Wendroff method, but your discretization seems to be alright. You will probably find the stability criteria in specialized literature, such as Fletcher's Computational Methods for Fluid Dynamics. However, I think it's much more common to solve this equation numerically with the FTCS scheme, and I have been solving this very equation using FTCS; if you consider the FTCS, you can find the stability criteria here.
$endgroup$
– rafa11111
Nov 30 '18 at 22:57












$begingroup$
@rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
$endgroup$
– fvalencar
Nov 30 '18 at 23:03




$begingroup$
@rafa11111 The name is vorticity transport equation non-dimensional, but it's very similar with viscous burger's equation. I've already solved this problem using the FTCS scheme, but i have to solve it with LW 2 Steps scheme too.
$endgroup$
– fvalencar
Nov 30 '18 at 23:03




1




1




$begingroup$
Unless $u$ and $v$ defined previously, you'll need some more equations.
$endgroup$
– Mattos
Nov 30 '18 at 23:31




$begingroup$
Unless $u$ and $v$ defined previously, you'll need some more equations.
$endgroup$
– Mattos
Nov 30 '18 at 23:31










0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020740%2fvorticity-transport-2d-using-lax-wendroff-2-steps-scheme%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020740%2fvorticity-transport-2d-using-lax-wendroff-2-steps-scheme%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?