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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2019, 07:02
Default How to create a field just at a boundary
  #1
New Member
 
Join Date: Sep 2019
Posts: 18
Rep Power: 6
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 06:14.
rucky96 is offline   Reply With Quote

Reply

Tags
boundary mesh, createfields, volscalafield, voltensorfield, volvectorfield

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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


All times are GMT -4. The time now is 17:24.