Comments (5)
The time derivative of the 2nd eq seems a little strange. Should it be in T2? Assuming that the equations are correctly typed, there are wrong signs in the eqs inserted. Are there additional coupling terms in sources S1_2?
from rheotool.
Thanks for the super-quick reply.
- The time derivative of the 2nd eq is indeed in "T1"
- No additional coupling terms in S1 and S2. They are matrices for T2
Should S1 in T2InT1Eqn
have a negative sign? auto T2InT1Eqn ( - fvm::laplacian(-M1, T2) - S1 );
?
or should it be auto T2InT1Eqn ( fvm::laplacian(-M1, T2) + S1 );
I was under the impression I need to insert the opposite of the coupled terms.
from rheotool.
When the equations are equated to 0 on the same side, they should be inserted as they are written, as in your case.
I was asking about the source terms, because you may achieve additional implicit coupling through them.
from rheotool.
Thanks for clarifying things; I must have messed with something else then. I'll have to debug the coupled system :)
Yes, I know about coupling the source terms (some experience from foam-extend), in my case though, they both depend on T2 only but I would love to find examples on how to achieve implicit coupling through them (would be useful for future equations).
The rheo* solvers don't seem to present examples.
from rheotool.
The Nernst-Planck equations are the closer I can see in rheoTool from your case. Take a look at this (you will find theory in the user-guide; you can also check the signs of these equations):
There are additional cases of coupling, but they are more complex and related with new operators. The theory is here: https://www.sciencedirect.com/science/article/abs/pii/S0045793019302427 and you can find the code in the repo (look inside classes, not only inside solvers).
Re-open issue if needed.
from rheotool.
Related Issues (20)
- Viscosity distribution and wall shear stress around the cylinder
- Petsc Floating Point Exception with large deltaT
- Confusion about the viscosity "eta" in the tutorial rheoTool/of90/tutorials/rheoFoam/fluidDamper
- Tutorial solution error: error in IOstream "OSHA1stream.sinkFile_" for operation Ostream& operator<<(Ostream&, const char) HOT 5
- Problem when Compile rheoTool HOT 1
- error in compilation of rheotool
- Error building: no matching function for call to ‘distance(int&, int&)’ HOT 8
- Saramito constitutive eqn in simple shear HOT 1
- Initial Condition Using #codeStream in Oldroyd-BLog
- Mistake in pEqn.H
- rheoTool wmake problem HOT 22
- heat transfer in two-phase flows HOT 1
- Hello, question about the solver
- Error while compiling a new constitutiveEquation HOT 3
- Tutorial Solution Error HOT 6
- custom installation dir HOT 5
- Use of fvm vs. fvmb
- Rheotool installation error HOT 1
- Segregated solvers with petsc solver ERROR HOT 6
- Issue in Flow past cylinder tutorial at High Re
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rheotool.