updating boundary condition after one iteration and permanently

 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 22, 2017, 21:19 updating boundary condition after one iteration and permanently #1 Senior Member   Bobi Join Date: Oct 2012 Location: Chicago, Illinois Posts: 427 Rep Power: 9 Dear Fellows I want to implement a boundary condition in a somehow unique way. I want to start a simulation with a high value called . Immediately, after 1 iteration, I want to put this relation as the boundary condition: . Actually, that 1 iteraion is needed to calculate in the high value and then modifying boundary condition to a much smaller value. Here, the point is that comes from that first iteration. Basically, what I want to do is start a simulation with a high Dirichlet boundary condition and after first iteration, calculate surface normal gradient and find the new based on modification formula and continue simulation with new Dirichlet boundary condition. The new Dirichlet boundary condition remains intact throughout the simulation. So, in first iteration my boundary condition is and for the rest of simulation is . Any clue how to implement it?

 June 22, 2017, 21:58 #2 Senior Member   Arjun Join Date: Mar 2009 Location: Nurenberg, Germany Posts: 713 Rep Power: 19 I am trying to code it and most of it is done for now. Here is my take, during the initialization of model, you first solve the poisson equation for this variable (Ue as you called it in other thread). After it is solved the field comes to be smooth. dUedn is no longer as sharp as it is in the start for cplus and cminus. So basically in my model init cplus, cminus from user. using cplus and cminus, solve poisson equation for Ue to initialize it. Iterations 1. Solve Ue poisson equation 2. Solve Cplus and Cminus transport. This is my rough outline.

 June 22, 2017, 22:15 #3 Senior Member   Bobi Join Date: Oct 2012 Location: Chicago, Illinois Posts: 427 Rep Power: 9 Dear Arjun, Many thanks for your reply. However, this is a new case and thats the reason I started a new thread for it. Here, I want to do the case with high a called just for 1 iteration and then modify the boundary with a new Dirichlet which comes from a modification formula. Regards

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT -4. The time now is 16:58.