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

Coupled solver

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2005, 15:13
Default Hello everybody, I would li
  #1
weiss
Guest
 
Posts: n/a
Hello everybody,

I would like to couple an OpenFOAM-solver to a particle solver and so need to extract some informations from the field/mesh.

1. How can I get the coordinates of a field-value or vice versa? (field[x] <-> mesh[x]: do they correspond? Any more sophisticated way?)

2. How can I create a field that includes some specific mesh/field-points, referring to the original field ((maybe by adding them pointwise))?

I'd be very thankful for any suggestions.

Greetings,
Dennis
  Reply With Quote

Old   April 18, 2005, 13:26
Default 1. fvMesh::C() is a volVectorF
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
1. fvMesh::C() is a volVectorField of the cell centres. So field[cellI] corresponds to the value at mesh.C()[cellI]

2. Don't know about this. You'll have to do it yourself (guess with labelList for selected cell labels + reference to original field)
mattijs is offline   Reply With Quote

Old   April 18, 2005, 13:35
Default You realise foam has a built-i
  #3
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
You realise foam has a built-in particle tracking layer? IMO the best thing to do would be to track the particles on the foam mesh, which automatically keeps track of cell locations and boundary collisions. If you simply have to calculate the particle trajectories with an external app, then you can map this back onto the foam particles before updating your tracking. You can also use the "interpolate" functions to do second order mapping of field values onto the particles.

What exactly does your particle solver do?
eugene is offline   Reply With Quote

Old   April 19, 2005, 13:30
Default Thanks. I think the particl
  #4
weiss
Guest
 
Posts: n/a
Thanks.

I think the particle tracking layer wouldn't help, hence the coupled solvers should exchange their fluxes.

Selecting the cells by hand seems complicated for complex geometries. Maybe there is the possibility to define something like a region in the blockmeshdict-file, so that I can select the interesting area at once?
  Reply With Quote

Old   April 19, 2005, 14:17
Default Unfortunately there is no such
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Unfortunately there is no such possibility in blockMesh. Would be quite handy though.
mattijs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
coupled solver ztdep Main CFD Forum 4 August 13, 2008 07:30
coupled solver ankit Main CFD Forum 0 January 24, 2008 00:11
segregated solver vrs coupled solver sm FLUENT 0 November 6, 2007 02:24
why CFL is only in coupled solver? john CFX 6 May 10, 2007 12:27
coupled solver / uncoupled solver Jaan Unger Main CFD Forum 0 September 3, 2002 09:30


All times are GMT -4. The time now is 14:07.