Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

COMSOL solver control

$
0
0
Hi,

I am looking at a problem that solves physics at two different time scales. Basically, I want to do the following

At a coarser time scale I want to solve a few partial differential equations (PDEs).

In each coarse time step, the source terms and some coefficients for these PDEs have to be determined by solving a few other PDEs with shorter time steps. The physics at the finer time scale will be solved for a few time steps and then eventually when the fine time scale agrees with the coarser time, the coefficients and source terms are updated. An algorithm will be

For CoarseTimeStep = 1 to n
for FinerTimeStep = 100 smaller time steps in each coarseTimeStep
solve PDE_SET_1 to get coefficients and source terms
end

Use these coefficients and source terms to solve PDE_SET_2
end

Can someone suggest if this is possible to do in comsol? If so, can you kindly point me to appropriate resources.

Thanks,

Hamsa

Viewing all articles
Browse latest Browse all 26527

Trending Articles