Josh Thomas
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
16 juil. 2013, 17:01 UTC−4
David-
A) First, add a 2nd study (right-click root node and select Study and use Model Wizard to select study type), then in the settings window under Step 1, expand "Values of Dependent Variables." Check the box, Values of variables not solved for. Change the Method to Solution. Change the Study to Study 1. This will point Study 2 to the E field from Study 1. You will also need to make sure that you have coupled the physics (ie variables) under the physics interface nodes. See Model library for many examples of how to couple physics.
B) Well, don't you want to make the refractive index, Electric field dependent? Simply, type in your functional dependence into the edit field for refractive index. Say 4.23*sqrt(Ex^2+Ey^2+Ez^2) for example. Ex, Ey, Ez are the vector components of the electric field dependent variable. COMSOL is nice that anywhere you can type a number you can type a function or a parameter or an expression.
Best regards,
Josh Thomas
AltaSim Technologies
David-
A) First, add a 2nd study (right-click root node and select Study and use Model Wizard to select study type), then in the settings window under Step 1, expand "Values of Dependent Variables." Check the box, Values of variables not solved for. Change the Method to Solution. Change the Study to Study 1. This will point Study 2 to the E field from Study 1. You will also need to make sure that you have coupled the physics (ie variables) under the physics interface nodes. See Model library for many examples of how to couple physics.
B) Well, don't you want to make the refractive index, Electric field dependent? Simply, type in your functional dependence into the edit field for refractive index. Say 4.23*sqrt(Ex^2+Ey^2+Ez^2) for example. Ex, Ey, Ez are the vector components of the electric field dependent variable. COMSOL is nice that anywhere you can type a number you can type a function or a parameter or an expression.
Best regards,
Josh Thomas
AltaSim Technologies
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
16 juil. 2013, 21:16 UTC−4
Thanks Josh
For B, I understand now.
For A: I have COMSOL 4.3a and the steps you describe are not working. Please find attached a simulation with only electrostatics (es). Basically there are two electrodes and this solves for the electric field between them.
Next I right click the root node and select Add Study as you say. However I don't see the electromagnetic waves (emw) option because that involves different physics. There is only "Stationary", "Time dependent", etc. I am looking for the emw's "Mode analysis" which appears under this list when I make a new emw simulation but not here now. So instead I right click the root node again and select Add Model. I can then add the "emw" but this does not seem to be correct either as it is an entirely separate model.
Thanks
Thanks Josh
For B, I understand now.
For A: I have COMSOL 4.3a and the steps you describe are not working. Please find attached a simulation with only electrostatics (es). Basically there are two electrodes and this solves for the electric field between them.
Next I right click the root node and select Add Study as you say. However I don't see the electromagnetic waves (emw) option because that involves different physics. There is only "Stationary", "Time dependent", etc. I am looking for the emw's "Mode analysis" which appears under this list when I make a new emw simulation but not here now. So instead I right click the root node again and select Add Model. I can then add the "emw" but this does not seem to be correct either as it is an entirely separate model.
Thanks
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
16 juil. 2013, 21:18 UTC−4
Secondly, you say "You will also need to make sure that you have coupled the physics (ie variables) under the physics interface nodes." What do you mean by "physics interface nodes"? Which nodes in the node tree are you referring to? If I knew which ones to look at then I could perhaps find some examples in model library but I don't know what you mean.
Thanks
Secondly, you say "You will also need to make sure that you have coupled the physics (ie variables) under the physics interface nodes." What do you mean by "physics interface nodes"? Which nodes in the node tree are you referring to? If I knew which ones to look at then I could perhaps find some examples in model library but I don't know what you mean.
Thanks
Josh Thomas
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17 juil. 2013, 09:14 UTC−4
To add more physics (ie physics interface nodes) to the Model tree, you will need to right-click on Model 1 to reopen the Model Wizard. At this time, you can also add a 2nd study.
The physics interface nodes are the nodes in the Model Builder tree under the Model branch found directly below the Materials node. You can have multiple physics interface nodes in a model. These physics interface nodes define equations on domains, boundaries, etc. If you have multiple nodes in the Model (ie sets of equations), you need to make sure they are communicating properly with each other where there are couplings.
Best,
Josh
To add more physics (ie physics interface nodes) to the Model tree, you will need to right-click on Model 1 to reopen the Model Wizard. At this time, you can also add a 2nd study.
The physics interface nodes are the nodes in the Model Builder tree under the Model branch found directly below the Materials node. You can have multiple physics interface nodes in a model. These physics interface nodes define equations on domains, boundaries, etc. If you have multiple nodes in the Model (ie sets of equations), you need to make sure they are communicating properly with each other where there are couplings.
Best,
Josh