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

If there are some codes can let every mesh read the transproperties?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2013, 03:38
Post If there are some codes can let every mesh read the transproperties?
  #1
New Member
 
salame ama
Join Date: Dec 2012
Posts: 28
Rep Power: 13
salame is on a distinguished road
Hi, Formers:
In my case, i want every mesh can read the file like transproperties, actually viscoelasticproperties , the viscoelasticproperties file includes some scalar quantities which describe the properties of melt, but unequal in every mesh because different temperature. That is my idea about my case, is that possible and how can i get that?

Best regards!
salame
salame is offline   Reply With Quote

Old   November 3, 2013, 13:53
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Salame,

With multiple meshes, you can always use the

Code:
const dictionary& otherMeshTransportProperties = 
    mesh1.thisDb().parent().subRegistry(<nameMesh0>)
    .lookupObject<IOdictionary>("transportProperties");
command inside your code. This allows you to go back to the data base of other meshes.

Kind regards

Niels
sylvester likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   November 4, 2013, 02:30
Thumbs up
  #3
New Member
 
salame ama
Join Date: Dec 2012
Posts: 28
Rep Power: 13
salame is on a distinguished road
Thank u! Niels, i will have a try !
salame 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
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[Other] Cannot read a Spider mesh into Foam evrikon OpenFOAM Meshing & Mesh Conversion 1 March 14, 2012 10:13
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30


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