Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jun 8, 2010, 1:55 p.m. EDT
I am very new to Comsol but I would also like to know more about this.
Thank You
I am very new to Comsol but I would also like to know more about this.
Thank You
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jun 8, 2010, 5:26 p.m. EDT
What I do is to copy my results (right click) and then use the copied one as the initial condition (right click on variables).
In my case it crashed when I did it initially. Support told me to add:
(bash) export MALLOC_CHECK_=0
(tcsh) setenv MALLOC_CHECK_ 0
hope it helps.
What I do is to copy my results (right click) and then use the copied one as the initial condition (right click on variables).
In my case it crashed when I did it initially. Support told me to add:
(bash) export MALLOC_CHECK_=0
(tcsh) setenv MALLOC_CHECK_ 0
hope it helps.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Dec 20, 2010, 6:54 p.m. EST
I can only speak for having done so with MATLAB, but what I did was create an m-file and copy the block of code that sets up the solution, and enforce a "sol" initial condition.
After setting up your model,
% Run winding pulse
model.sol('sol3').runAll;
% Redefine system for diffusion
model.physics('c').feature('cfeq1').set('a', '0');
model.physics('c').feature('cfeq1').set('c', {'Dw' '0' '0' 'Dw'});
model.study('std1').feature('time1').set('tlist', '0, 1.5');
model.sol('sol3').feature('t1').set('tlist', '0, 1.5');
model.sol('sol3').feature('t1').set('timemethod', 'bdf');
model.sol('sol3').feature('t1').set('tstepsbdf', 'free');
model.sol('sol3').feature('v1').set('initmethod', 'sol');
model.sol('sol3').feature('v1').set('initsol', 'sol3');
% Run diffusion
model.sol('sol3').runAll;
The line model.sol('sol3').feature('v1').set('initmethod', 'sol'); is the important line.
I can only speak for having done so with MATLAB, but what I did was create an m-file and copy the block of code that sets up the solution, and enforce a "sol" initial condition.
After setting up your model,
% Run winding pulse
model.sol('sol3').runAll;
% Redefine system for diffusion
model.physics('c').feature('cfeq1').set('a', '0');
model.physics('c').feature('cfeq1').set('c', {'Dw' '0' '0' 'Dw'});
model.study('std1').feature('time1').set('tlist', '0, 1.5');
model.sol('sol3').feature('t1').set('tlist', '0, 1.5');
model.sol('sol3').feature('t1').set('timemethod', 'bdf');
model.sol('sol3').feature('t1').set('tstepsbdf', 'free');
model.sol('sol3').feature('v1').set('initmethod', 'sol');
model.sol('sol3').feature('v1').set('initsol', 'sol3');
% Run diffusion
model.sol('sol3').runAll;
The line model.sol('sol3').feature('v1').set('initmethod', 'sol'); is the important line.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Dec 2, 2011, 4:31 a.m. EST
What is the 'initmethod' ??
I attatched these sentences
model.sol('sol1').feature('o1').set('initmethod', 'sol');
model.sol('sol1').feature('o1').set('initsol', 'sol1);
but the below error occured
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown property
Messages:
Unknown property
- Property: initmethod
What is the 'initmethod' ??
I attatched these sentences
model.sol('sol1').feature('o1').set('initmethod', 'sol');
model.sol('sol1').feature('o1').set('initsol', 'sol1);
but the below error occured
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Unknown property
Messages:
Unknown property
- Property: initmethod