Re: [deal.II] apply Pouseuille BC at multiple inlets with different velocity magnitudes

2019-01-16 Thread Lailai Zhu
n would be to use the FunctionParser > <https://dealii.org/developer/doxygen/deal.II/classFunctionParser.html> > class, > which seems to be able to do everything that you are doing in > this PoiseuilleBoundaryValues class and more. You could even write the > evaluated expressio

Re: [deal.II] looking for an deallii example using trilinos's amesos direct solver in a parallel way

2017-02-13 Thread Lailai Zhu
if(!mumps_solver) { > mumps_solver = std_cxx11::shared_ptr (new > TrilinosWrappers::SolverDirect(solver_control, data)); mumps_solver-> > initialize (mass_matrix); } // solve for ax { TrilinosWrappers::MPI:: > Vector tmp (locally_owned_dofs, mpi_communicator); mumps_solver->solve ( > tm

Re: [deal.II] looking for an deallii example using trilinos's amesos direct solver in a parallel way

2017-02-13 Thread Lailai Zhu
mmunicator); mumps_solver->solve ( > tmp, rhs); constraints.distribute (tmp); ax = tmp; } > > > Best > praveen > > On Sat, Feb 11, 2017 at 9:19 AM, Lailai Zhu <laila...@gmail.com > > wrote: > >> hi, dear all, >> >> I am looking for an dealII example tha

[deal.II] looking for an deallii example using trilinos's amesos direct solver in a parallel way

2017-02-10 Thread Lailai Zhu
hi, dear all, I am looking for an dealII example that uses trilino's amesos direct solver with MPI, i guess more specifically, i mean how to call amesos_mumps solver based on MPI. I have installed them correctly with dealII. I think i need to use the subroutine void solve

Re: [deal.II] manipulate a solution variable that is an easy function of other solution variables

2016-12-12 Thread Lailai Zhu
Now the only thing I need to know what is the one-to-one correspondence between the above 2-by-2 matrix and the four entries of the tensor? Thanks in advance, best, lailai On Sunday, December 11, 2016 at 9:58:49 PM UTC-5, Wolfgang Bangerth wrote: > > On 12/10/2016 05:18 PM, Lailai Zhu

[deal.II] manipulate a solution variable that is an easy function of other solution variables

2016-12-10 Thread Lailai Zhu
HI, dear dealII users and supporters, I am a very new user of dealII and knows very little about C++. I started everything from the step-31, Stokes equations solving vector field 'u' and scalar field 'p', and a temperature equation for 'T'. My problem is similar to this, namely I have a