Dear Sebastian - and rest of the CSMP community
Although quite some time has passed, I am writing again with a problem I encountered when working with the suggested group restrictions (but first of all THANKS for your immediate replies - I find this forum really helpful!):
As explained earlier, for my latest runs, I set up a 2D triangle mesh of which I want to use only a certain part for my computations. I.e., I formed different groups and I had to restrict my visitors/interrelations/algorithms to the group I want to run my computations on (I called this group "model").
At first, everything seemed to work and the results looked reasonable - until I noticed that the results produced WITH group restriction look significantly different from the ones computed WITHOUT group restriction: fluid transport takes at least only 1/10 of the time, i.e., is much faster WITH group restriction (see images below)!
As I applied the group restriction to all my visitors (fluid properties visitor (own!), transport properties visitor (own!), velocity and volume flux visitor (csp)), algorithms (transient temperature and pressure), and interrelations (concatenate velocity (csp), modify positive property to max (own!)), I cannot imagine where this effect is coming from. All other parameters/settings are exactly the same for both the simulations…
I'd be glad if you or anyone else who has been working with group restrictions could make a remark on that… 'cause here at ETH nobody else has used this application before.
Cheers,
Gillian
PS: Here some essential lines from my code:
H2OPropertiesVisitorPH_TOPBC<csp_float, 2>* equilibrator_properties_purewater = new H2OPropertiesVisitorPH_TOPBC<csp_float, 2> ( ... );
equilibrator_properties_purewater->RestrictApplicationTo( "model" );
Algorithm<csp_float, 2> transient_temperature( new SAMG_Solver() );
transient_temperature.RestrictApplicationTo( "model" );
MassBasedFiniteVolumeAdvection<csp_float, 2> advection_liquid( fv_manager ); //cannot be restricted to groups (!?)
TransportPropertiesVisitorPH<csp_float, 2> flowprop( ... );
flowprop.RestrictApplicationTo( "model" );
VelocityAndVolumeFluxVisitor<csp_float,2> v_liquid( ... );
v_liquid.RestrictApplicationTo( "model" );
Concatenate<csp_float,2,plus> total_v( ... );
total_v.RestrictApplicationTo( "model" );
ModifyPositivePropertyToMax<csp_float,2> T_max_cutting( ... );
T_max_cutting.RestrictApplicationTo( "model" );
…and three screenshots showing temperature distribution for t = 0, 10 and 100 years, respectively:
(Upper images are WITHOUT group restrictions, lower images are WITH group restrictions.)