Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                1 decade ago                            
                            
                                23 févr. 2013, 07:31 UTC−5                            
                        
                        
                                                    Hi
The geometry nodes accept only Parameters or equations assembled with parameters.
Parametes are static variables, loaded once at beginning of solver run. 
During solving a parameter might be updated by a Parametric sweep node, or a solver continuation sweep tab.
 
One exception: 
in the parameter list you can use variable nameto define them from firs study start that are later updated. Typical example a t=0 defined in the parameter list, as t which isCOMSL reserved name for time is only defined in transient solver case, like this it is defined from the beginning of the first study, i.e. you can run a stationary study on a model containing references to "t" typically for an initialisation for then after run a time series solver case, from the stationary values obtained from the parametr value of t=0 (or what ever value you choose)
now if you define a function only on parameters, I assume it will still not work for a geometry, as today you cannot even plot a function from within its definition, if it depends on a varaible or a parameter, as this parameter is not yet defined in the function definition, only once the solver has run (workaround for certain cases run the "get initial conditions", this predefines many things, including plots etc and it does not take long ;)
--
Good luck
Ivar                                                
                                                
                            Hi
The geometry nodes accept only Parameters or equations assembled with parameters.
Parametes are static variables, loaded once at beginning of solver run. 
During solving a parameter might be updated by a Parametric sweep node, or a solver continuation sweep tab.
 
One exception: 
in the parameter list you can use variable nameto define them from firs study start that are later updated. Typical example a t=0 defined in the parameter list, as t which isCOMSL reserved name for time is only defined in transient solver case, like this it is defined from the beginning of the first study, i.e. you can run a stationary study on a model containing references to "t" typically for an initialisation for then after run a time series solver case, from the stationary values obtained from the parametr value of t=0 (or what ever value you choose)
now if you define a function only on parameters, I assume it will still not work for a geometry, as today you cannot even plot a function from within its definition, if it depends on a varaible or a parameter, as this parameter is not yet defined in the function definition, only once the solver has run (workaround for certain cases run the "get initial conditions", this predefines many things, including plots etc and it does not take long ;)
--
Good luck
Ivar