CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

CoupledFvMatrix combinining two fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2007, 06:44
Default Hi all, I combine two domains
  #1
Member
 
rafal zietara
Join Date: Mar 2009
Location: Manchester, UK
Posts: 60
Rep Power: 17
rafal is on a distinguished road
Hi all,
I combine two domains in one simulation.
I have coupledFvMatrix I found somewhere
on MB and in presentation for
Politecnico di Milano. It enables to
solve variables in not coupled domains. Like
temperature in solid and fluid(the example below).

coupledFvScalarMatrix TEqns(2);
TEqns.hook
(
new fvScalarMatrix
(
fvm::ddt(T)
+ fvm::div(phi, T)
- fvm::laplacian(DT, T)
)
);
TEqns.hook
(
new fvScalarMatrix
(
fvm::ddt(Tsolid)
- fvm::laplacian(DTsolid, Tsolid)
)
);
TEqns.solve();

But this is not applicable to for example to
pressure - velocity coupled equations.
So it will not work for
fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)
);
solve(UEqn == -fvc::grad(p));

Did the implementation developed somewhere
furhter (I have version dated end of January)?
Is there maybe a coupled field class
(like coupledFvScalarField/coupledFvVectorField)?
Is there any other way to solve coupled fields
with different dynamics?
Thanks in advance,
rafal
rafal is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Average fields jml ParaView 4 December 15, 2008 12:55
Mean Velocity Fields Stephen Smyth FLUENT 2 May 28, 2008 06:08
Is it possible to specify fields directly evgenii OpenFOAM Pre-Processing 2 November 24, 2005 05:55
All fields not solved fabianpk OpenFOAM Running, Solving & CFD 1 November 9, 2005 07:24
Temperature fields Fernando Lopez Parra FLUENT 1 September 28, 2003 09:15


All times are GMT -4. The time now is 06:09.