# develop a solver

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

 August 22, 2013, 05:29 develop a solver #1 Member   Arjang Behnoud Join Date: Oct 2012 Posts: 57 Rep Power: 6 Hi Dear all I want to develop a solver by adding new equations to simplefoam solver, the new equations contain the following term: $K[D \triangledown F.\triangledown T + (C/T)\triangledown T.\triangledown T]$ K,D and C are constant. I don't know how should I write this term (Inner product of two gradients) at newSimpleFoam.C . any help is appreciated. Thanks in advanced. Arjang

 August 22, 2013, 05:43 #2 Senior Member   Bernhard Join Date: Sep 2009 Location: Delft Posts: 790 Rep Power: 14 Do you want to solve for F or for T? If you want to solve for T, is there any physics behind this equation? Did you think about the algorithm you want to use: e.g. which terms to treat implicitly and which terms to use explicitly? It looks a bit odd to me though.

 August 22, 2013, 15:56 #3 Senior Member     Daniel P. Combest Join Date: Mar 2009 Location: St. Louis, USA Posts: 585 Rep Power: 20 What is T and What is F? Are they scalars, vectors, tensors, etc? How have you tried to write the equation already? Did what you have already written compile or not? __________________ Dan Find me on twitter @dancombest and LinkedIn

 August 24, 2013, 01:56 develop a solver #4 Member   Arjang Behnoud Join Date: Oct 2012 Posts: 57 Rep Power: 6 [QUOTE=Bernhard;447392]Do you want to solve for F or for T? I want to add two Eqs. to simpleFoam solver. one of them is energy Eq. and contains that so-called term and other one is particle continuity Eq. with these two Eqs. I want to solve for both T and F.

 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

 Similar Threads Thread Thread Starter Forum Replies Last Post Pat84 FLUENT 0 October 22, 2012 15:59 sankarv OpenFOAM 0 April 4, 2010 18:06 CCMuser STAR-CCM+ 2 March 3, 2010 12:20 bearcat CFX 6 April 28, 2008 14:08 tachioka OpenFOAM Running, Solving & CFD 0 October 10, 2007 10:17

All times are GMT -4. The time now is 03:17.