Comments (7)
from fvtool.
Here is my first attempt, with the correct BC for the case without a maximum concentration. I would like to impose a maximum possible concentration (say for this case phi_max=2.5), and not allow the concentration to surpass this value. I'm having some difficulty with the sink term and the boundary conditions at the right side.
from fvtool.
update: I have obtained what appears to be the correct profile for the steady state by explicitly stating where the source becomes active in the mesh, in the steady file.
The transient file is what I'm trying to fix, where the source becomes active at a certain value of "phi", but I think the BC need to be changed at each time step. Is there a way to do this?
Thanks!
C_1D_PPT_steady.m.txt
C_1D_PPT_trans.m.txt
from fvtool.
I seem to have gotten the concentration profile I was expecting with this code, but am still unsure if the boundary conditions are correct.
C_1D_PPT_trans_newest.m.txt
from fvtool.
Does this tool work if the reaction term is nonlinear? I am trying to solve an advection-diffusion PDE which also has a nonlinear reaction term in it. Thanks for your help.
from fvtool.
It is possible to solve nonlinear equations, but first you it has to be linearised using Taylor expansion. I'll write about it soon.
from fvtool.
Thank you!
from fvtool.
Related Issues (20)
- A bug in 3D Cartesian TVD scheme
- Convenience functions for spatially variable cell and face variables
- Diffusion equation HOT 6
- diffusion equation HOT 4
- What's the difference between Cylindrical2D and Radial2D? HOT 2
- solving reaction-diffusion(-advection) equations? HOT 2
- convection diffusion with time-space dependent coefficients HOT 11
- Implicit vs explicit Euler HOT 6
- Spherical coordinates not working HOT 6
- Changing bounds of mesh HOT 4
- Radial (R, Theta) and 3D cylindrical (R, Theta, Z) coordinates HOT 1
- single phase flow and transport HOT 4
- Size o linear system of equations HOT 1
- 1D heat transfer through the composite wall HOT 5
- Spherical coordinate
- Non-uniform grid support HOT 1
- Add mesh visualization functionality HOT 1
- Boundary conditions HOT 2
- Explicit integration transport equation 1D HOT 3
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 fvtool.