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

How to create a field just at a boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2019, 08:02
Default How to create a field just at a boundary
  #1
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 7
rucky96 is on a distinguished road
Hi all,

I think this applies for a volScalarField, volVectorField & volTensorField. In my case I just want a tensor field just at a boundary:
Code:
volTensorField matrixA
(
  IOobject
  (
      "matrixA",
      runTime.timeName(),
      meshAtABoundary["sides"],
      IOobject::NO_READ,
      IOobject::AUTO_WRITE
  ),
  meshAtABoundary["sides"]
);
What should I write in meshAtABoundary["sides"]?

Regards.

Last edited by rucky96; December 10, 2019 at 07:14.
rucky96 is offline   Reply With Quote

Reply

Tags
boundary mesh, createfields, volscalafield, voltensorfield, volvectorfield


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


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