r/COMSOL • • 5h ago

Trouble with stationary source sweep

2 Upvotes

Hello,

I am fairly new to COMSOL (v6.4), working on electrostatics simulations. I have previously used the stationary source sweep method to compute capacitances between different electrodes on a model I am working with. Recently, I have been trying to run a similar simulation with a similar model, but the results from the stationary source sweep have not made any sense. What I learned after some troubleshooting is that there is a parameter called Q0Scal (e.g. "es.term1.Q0Scal") which determines the magnitude of the charge excitation on the relevant terminal in a given step of the sweep. In the problematic study, this parameter is being set to 0, meaning the simulation results are trivial (0 charge, 0 potential everywhere). Q0Scal seems to be an internal parameter which is set automatically by the model, and I did not find a way to manually change it. Can anyone suggest a possible cause of this issue? Notably, when performed a regular stationary study by manually fixing a non-zero charge on one of the terminals, the results looked perfectly normal. I have not been able to find a fundamental problem in the model which would prevent accurate simulations. Thank you.