Comsol parametric sweep continuation Delete all of those, and then try doing the Parametric Sweep again. The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the Select the Auxiliary sweep checkbox to enable an auxiliary parameter sweep, which corresponds to a Parametric solver attribute node. Jun 27, 2012 · 1. The second one is that in the Results section, where I see only one data set. This method is known as the continuation method with a Linear predictor and is controlled within the Solver Configurations node in the Parametric node. Set the predictor to constant for enhancing Jun 4, 2011 · Turn off step size tuning in parametric continuation? Posted Jun 4, 2011, 9:21 p. There is an example somewhere, (or was i at one of the COMSOL conference mini-courses ?) -- Good luck Ivar In order to run a parametric continuation, select the Auxiliary sweep checkbox under Study Extensions for the Stationary or Frequency Domain study step. The parametric solver performs an "inner sweep", which is optimized for performance in the sense that it tries to avoid reassembling and refactorizing the Jacobian or reassembling other constant vectors. This video uses a parametric sweep (created A parametric sweep allows you to change the parameter values through a specified range. If you define a ramp or step function and allow for a more continuous range, then COMSOL can try intermediate steps, if not no, it might fail in some cases. 2 1 Reply Jun 15, 2015 · Hi Firs notice that the Parametric Sweep node can lead to 2 different cases: a) Study continuation => no need to update the geometry nor the mesh, => last results are used as initial values for the next parameter solving b) Parametric geometry change => new mesh is generated and original initial conditions are used for each new study step To ensure that the mesh is small enough along an edge Use a Parametric Sweep () study to find the solution to a sequence of stationary or time-dependent problems that arise when you vary some parameters of interest. A parametric sweep allows you to change the parameter values through a specified range. But the Aux. Using a simple parametric sweep study, we show you how to tabulate your data and display it in an informative way. [Parametric 1], [Parametric 2], etc. There is also an option to run a Stationary study with an Auxiliary sweep, with or without a continuation parameter. I have two physics and two studies. The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the Jul 10, 2012 · Fortunately one of my co-workers had encountered a similar problem earlier and figured out how to fix it. We begin by discussing how to approach this optimization problem using a parametric sweep. And the full Parametric sweep. The results will be available within a single Data Set that contains all the parametric solutions. 1 if you use an "external" parametric sweep (not a solver continuation) you can get the model to remesh (or adapt the geometry if needed) based on a mesh dependence i. It is more likely that certain parameter values take longer to solve even if you try them manually (without a parametric sweep). Mar 25, 2013 · I am trying to solve a fluid flow problem over a range of inlet flows using a parametric sweep. 3a. The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the . , using a linear, logarithmic, or custom The Parametric node () is an attribute node that handles settings for parameter stepping using a parametric solver. May 30, 2011 · Then use the Study Extension Continuation Sweep and not an Explicit Parametric Sweep (the latter runs through the mesher), and you should perhaps turn of the default "automatic mesher" and convert it to a user mesh Nov 26, 2010 · Note that a specific parametric sweep goes around the geomery (and restarts at initial conditions) while a continuation sweep is good for non geometrical variables ad takes into account the previous steps to extrapolate where to go for next step. As far as I have understood, the continuation solver can be used only with an Auxiliary Sweep. To learn how to set up a parametric sweep, see: Performing a Parametric Sweep Study in COMSOL Multiphysics®. Feb 24, 2011 · Hi Tom In v4. I think it comes from the inital values, as in the sweep it takes the solutions from the previous results as initial guess. The parametric solver supports two algorithms, continuation and no continuation (plain sweep). Oct 18, 2012 · Another point in v4. sol (sname). on frequency. The solution does not converge at higher flows, so what I would like to do is run the sweep until it fails to converge, then perform an adaptive mesh refinement, and continue iteratively repeating the sweep and mesh refinement until the sweep succeeds. Run continuation for "Last parameter": With this option, COMSOL will use the solution from the previous step as the initial guess for the current step, and will attempt to continue the solution Feb 19, 2011 · Hi in COMSOL v4 you have two types of parametric sweep, the "inner" one is the solver continuation sweep, this does NOT pass via the geometry, hence no geometrical nor mesh updates. No (the default for a Stationary study) to reset the solution to the initial values before each step or continuation sweep. In both cases, a Stationary Solver node plus a Parametric attribute is used. In the model tree, go to Study->Solver configurations->Solver->StationarySolver->Parametric and in the settings window, look for the continuation panel. Learn how to postprocess your sweep in our follow up tutorial video, Postprocessing the Results from a Parametric Sweep. Sometimes the simulation fails at one of these values, and the sweep stops. You might want to have a look at bracket_topology_optimization_stl in the Application Library. 3a, you have a new tab in the Parametric Solver Node, that says Study extensions "automartic" or "off", if "off" what I said above is and remain true, in Automatic mode COMSOL checks if the sweep can be attributed to a "solver continuation sweep" or if it has too lopp around the geometry too. The sweep can be implemented in the Settings window of a study step node, such as in the Stationary study step (pictured below). The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the Introduce a parameter that controls the mesh size and use a Parametric Sweep to sweep over a range of values that control the mesh. It is also possible to add an auxiliary sweep to this study step, which creates a multiparameter sweep (Parametric solver) over both the wavelength and the given parameters, and optionally with continuation in the wavelength or in one of the given parameters. This functionality is available for Stationary, Time Dependent, and Frequency Domain studies. 2 COMSOL Multiphysics has two ways to perform parametric studies — a Parametric Sweep node or an Auxiliary sweep from the Stationary Solver node. I have noticed a few weeks ago with 4. The Automatic Remeshing node () is an attribute that adds automatic remeshing. Th latter loops aroud the geoemtry too, so this one allows you to also update your geoemtry and mesh if required. Apr 10, 2014 · Hi, I have also tried recently to use auxiliary sweep with stationary studies to get good convergence. Oct 26, 2012 · Changes in 4. : in the output plot, as I sweep time from say 1s to 10s, I must be able to see the applied voltage change in steps of, say, 1V every Jul 22, 2011 · Parametric sweep Posted Jul 22, 2011, 4:25 a. The setting for Reuse solution from previous step then determines how the solutions are reused between multiple continuation sweeps, if there are additional parameters to sweep over, as shown in Figure 20-3. The list of Predictor types to choose from when performing an auxiliary sweep. The problem is in study2 where diffusion coefficient changes. It is added if you have selected the Automatic remeshing checkbox for an auxiliary sweep in the Study Extension section in the settings for a Stationary study step, for example. To use continuation you need to both select the Auxiliary Sweep check box as well as select one of the parameters as the continuation parameter from the list under Study Extensions on the Stationary or Frequency Domain node’s Settings window. 3a, there is a new feature, COMSOL checks if the parametric sweep needs to be "outside" the solver sequence or can be included into the solver as a continuation mode (automatic), sometimes now you need to turn this feature "off" to impose an external (looping around the full model, not only the solver sequence) parametric sweep. In order to run a parametric continuation, select the Auxiliary sweep checkbox under Study Extensions for the Stationary or Frequency Domain study step. It can also be used together with The Moving Mesh Interface to Use a Parametric Sweep () study to find the solution to a sequence of stationary or time-dependent problems that arise when you vary some parameters of interest. Sep 23, 2011 · If you use a "parametric" sweep, COMSOl restarts at the original initial conditions each time, if you use a solver "continuation" parametric sweep then COMSOL will use last Parameter values as starting point to the next simulation (with next parameter) this might be your issue too ;) Jan 12, 2015 · What is the difference between auxiliary sweep and parametric sweep in COMSOL? In most cases you can either use auxiliary or parametric sweep to sweep the study over a certain parameter. stationary, or frequency sweep. sweep has Continuation which means that the solver can use the previous solution as initial condition for next parameter value. Oct 20, 2012 · Hi Chris, In general nested parametric sweeps do not slow down. In this example, either method can be used. I want to be able to apply these voltages as a function of time, i. Jun 19, 2024 · It sounds like you want to use continuation, but the auxilliary sweep is for inner sweeps/load cases, while you need an outer sweep to do continuation. This helps us determine which parameters to define and where to implement them in the model setup. Use a Parametric Sweep () study to find the solution to a sequence of stationary or time-dependent problems that arise when you vary some parameters of interest. To use continuation you need to select the Auxiliary Sweep checkbox as well as select one of the parameters as the continuation parameter from the list under Study Extensions on the Stationary or Frequency Domain node’s Settings window. Jan 23, 2012 · The first one is that I don't know the difference between "parametric sweep" as the continuation on a steady state solver and the specific parametric sweep node. In this tutorial video, we will teach you how to implement a parametric sweep with the COMSOL software. Apr 5, 2013 · The terminology is admittedly a bit confusing with respect to parametric sweeps and the parametric solver. Then on the study node’s Settings window, define the parameters in the table and choose one from the Run continuation for list. How to Set Up a Parametric Sweep: Under the Study node, select Parametric Sweep. The main study step types — most of them available as a study in the Add Study window — are listed in Table 20-2. The parametric solver is the algorithm that is run when a Parametric attribute node is active under a Stationary Solver node. The continuation solver uses the solution from the previous parameter as an initial guess to calculate the current parameter value When continuation is enabled by setting Run continuation for to one of the parameters, the converged solutions are always reused for the steps along the continuation sweep in this parameter. e. feature (fname). To use continuation you need to select the Auxiliary Sweep check box as well as select one of the parameters as the continuation parameter from the list under Study Extensions on the Stationary or Frequency Domain node’s Settings window. However in the sweep, the solver cannot converge for the second value. Add the parameters you wish to vary and define their values (e. feature (parname). After running a COMSOL Multiphysics ® simulation that yields multiple results, there are specific ways to postprocess the data. In this way your two parameters are also in line (unstacked) -- Good luck Ivar If no continuation parameter is given, a plain sweep is performed where a solution is sought for each value of the parameters. An Auxiliary sweep is used here, but the continuation solver is not used. Apr 10, 2013 · Another point in v4. Can I couple the parametric sweep with time dependent solver? This is what I need: I am applying a set of voltages to a resistor and plotting the joule heating, using parametric sweep. g. Parameter dependence of the initial values can be accomplished by using parametric sweep. Continuation can only be used for one parameter; the No (the default for a Stationary study) to reset the solution to the initial values before each step or continuation sweep. • Jun 23, 2016 · Hello, I have a parametric sweep. An auxiliary sweep (for parameters defining a voltage and current for a model) is enabled under the Stationary study step. Jun 24, 2013 · Anders- Are you using the "Parametric Sweep" function or the "Continuation" method of sweeping? The "Continuation" method uses the solution of the previous parameter as the initial guess at the solution of the next parameter and so on. • Oct 30, 2012 · Hello, I faced a problem with two parameters sweep. In order to run a parametric continuation, select the Auxiliary sweep check box under Study Extensions for the Stationary or Frequency Domain study step. EDT Parameters, Variables, & Functions, Studies & Solvers Version 4. But in my case, I want to custom the initial values during the parametric calculation steps using solutions i get from other solvers so that the convergence can be faster. The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the If no continuation parameter is given, a plain sweep is performed where a solution is sought for each value of the parameters. The first one is that I don't know the difference between "parametric sweep" as the continuation on a steady state solver and the specific parametric sweep node. The remeshing occurs when the mesh quality falls below a specified value. Features include the Table Surface plot type, tables, and the ability to export the data to other programs. model. Go to [Study]--> [Job Configurations] and there should be one or more [Parametric] listed there, i. Note that you need to choose Last parameter from the Run continuation for list. The parametric sweep can include multiple independent parameters directly for a full multiparameter sweep (solve for the first value of the first parameter combined with all values of the second parameter, then the second value of the Feb 5, 2025 · Using the Parametric Sweep Feature COMSOL’s Parametric Sweep feature is a straightforward way to vary parameters and automate multiple simulation runs. Feb 19, 2011 · in COMSOL v4 you have two types of parametric sweep, the "inner" one is the solver continuation sweep, this does NOT pass via the geometry, hence no geometrical nor mesh updates. In this tutorial video, we will teach you how to implement a parametric sweep with the COMSOL ® software. In study 1 which deals with laminar flow I have a study continuation for inlet velocity. The initial values will not be recalculated by the parametric solver for subsequent parameter values. Maybe I have chosen the wrong option in Parametric sweep. For each set of parameter values, the chosen Sweep type is solved for. Feb 19, 2017 · Here is a simple tutorial on how to use parametric sweep in COMSOL Multiphysics 5. Here are two factors that can cause this solver slowdown: (i) if the parameter sweeps involve geometry Mar 7, 2011 · I made a parametric sweep to be able to plot some results depending on the magnet's position. EDT Studies & Solvers Version 4. 1. I tried two make two rows in In COMSOL Multiphysics, you can implement a parametric sweep to automate the process of varying the values of a parameter as well as resolving for your entire value range. If you provide more info about your model someone on the Forum may provide more specific feedback. If I fix the problem and I do not want to reprocess those parameter values which succeeded, how can I run the simulation for only the remaining parameters, and accumulate the results so that finally I have the complete set of solutions? Thank you Daniel Sep 9, 2015 · Hi You have two types of parametric sweep: the "continuous" one using last solution values as initial values for the next step, defined as a "solver continuation" (defined in the bottom of the Solver tab) and the true Parametric Sweep Solver node you add. Have you tried using Parametric sweep for L, and an inner, Auxiliary sweep for V? Use a Parametric Sweep () study to find the solution to a sequence of stationary or time-dependent problems that arise when you vary some parameters of interest. set (pname,pvalue) Jun 7, 2012 · If you define a "Parametric Sweep" with two parameters and give your values as range, then COMSOL will try to use these, but it might not manage to make the solution converge. Feb 29, 2016 · I know that a sweep involving changes in the geometry requires a Parametric Sweep, but to improve the convergence of the simulation I would like to set a "continuation solver" for the displacement parameter. Some studies require add-on modules, and these are listed in Table 20-3 (in that list, the submenu under Study Steps in the Study branches appears in parentheses for the study types that are available as individual study steps). After discussing with support, you can try to tweek a parameter in the solver configuration. m. I simulate a gas flow with transport of diluted species, so there two parameters: inlet gas velocity and diffusion coefficient. The parametric solver supports two algorithms, continuation and no continuation (plain sweep). Also Continuation means that the step size can be adjusted automatically by the solver. Sep 9, 2015 · When I was doing parametric sweep in a stationary solver, I found that once the "stationary solver" is started, the initial value for every parametric step is defined by solution of the last parametric step. Feb 10, 2011 · H you have two types of paramtetric sweeps: the "continuation" internal parameter sweep you define in the solver node i. This node can be used together with a Stationary Solver node. 3b 4 Replies Jan 23, 2012 · As I am a new in using Comsol, I don't understand two sentences of your answer. wsjxx pgd uks cnkfug fdvbgt dlmgtl hquyu weizkq uykp mccvx pdqrv xrdd ragoebzi trexf ljtgr